corrected name of inventory_hostnames lookup plugin
This commit is contained in:
parent
a584ab3420
commit
6105c8c77c
1 changed files with 2 additions and 2 deletions
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue