1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Change example syntax on group_by module

This commit is contained in:
Sam Doran 2016-10-12 17:54:04 -04:00 committed by Matt Clay
parent a97964a22d
commit c773539359

View file

@ -34,7 +34,10 @@ notes:
EXAMPLES = '''
# Create groups based on the machine architecture
- group_by: key=machine_{{ ansible_machine }}
- group_by:
key: machine_{{ ansible_machine }}
# Create groups like 'kvm-host'
- group_by: key=virt_{{ ansible_virtualization_type }}_{{ ansible_virtualization_role }}
- group_by:
key: virt_{{ ansible_virtualization_type }}_{{ ansible_virtualization_role }}
'''