Change example syntax on group_by module

pull/18777/head
Sam Doran 8 years ago committed by Matt Clay
parent a97964a22d
commit c773539359

@ -34,7 +34,10 @@ notes:
EXAMPLES = ''' EXAMPLES = '''
# Create groups based on the machine architecture # Create groups based on the machine architecture
- group_by: key=machine_{{ ansible_machine }} - group_by:
key: machine_{{ ansible_machine }}
# Create groups like 'kvm-host' # 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 }}
''' '''

Loading…
Cancel
Save