Update playbooks_loops.rst (#50437)

Error in the example for exclusion pattern

+label: docsite_pr
pull/50498/head
fretis 6 years ago committed by Sandra McCann
parent 362e603eb3
commit 0a56a22098

@ -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
- debug:
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`

Loading…
Cancel
Save