Change example syntax on group_by module
This commit is contained in:
parent
a97964a22d
commit
c773539359
1 changed files with 5 additions and 2 deletions
|
@ -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…
Reference in a new issue