mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Update playbooks_loops.rst (#50437)
Error in the example for exclusion pattern +label: docsite_pr
This commit is contained in:
@@ -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`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user