Update playbooks_loops.rst (#50437)
Error in the example for exclusion pattern +label: docsite_pr
This commit is contained in:
parent
362e603eb3
commit
0a56a22098
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ There is also a specific lookup plugin ``inventory_hostnames`` that can be used
|
||||||
# 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:
|
- debug:
|
||||||
msg: "{{ item }}"
|
msg: "{{ item }}"
|
||||||
loop: "{{ query('inventory_hostnames', 'all!www') }}"
|
loop: "{{ query('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