1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

corrected name of inventory_hostnames lookup plugin

This commit is contained in:
Brian Coca 2016-02-02 09:40:49 -05:00
parent a584ab3420
commit 6105c8c77c

View file

@ -536,11 +536,11 @@ There is also a specific lookup plugin ``inventory_hostname`` that can be used l
# show all the hosts in the inventory # show all the hosts in the inventory
- debug: msg={{ item }} - debug: msg={{ item }}
with_inventory_hostname: all with_inventory_hostnames: all
# show all the hosts matching the pattern, ie all but the group www # show all the hosts matching the pattern, ie all but the group www
- debug: msg={{ item }} - debug: msg={{ item }}
with_inventory_hostname: all:!www with_inventory_hostnames: all:!www
More information on the patterns can be found on :doc:`intro_patterns` More information on the patterns can be found on :doc:`intro_patterns`