Skip to content

Commit

Permalink
Update playbooks_loops.rst (#50437)
Browse files Browse the repository at this point in the history
Error in the example for exclusion pattern

+label: docsite_pr
  • Loading branch information
fretis authored and samccann committed Jan 3, 2019
1 parent 362e603 commit 0a56a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docsite/rst/user_guide/playbooks_loops.rst
Expand Up @@ -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`

Expand Down

0 comments on commit 0a56a22

Please sign in to comment.