mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove legacy variable usage.
This commit is contained in:
parent
1ff8c78f26
commit
a5e4567c4c
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ notes:
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Create groups based on the machine architecture
|
# Create groups based on the machine architecture
|
||||||
- group_by: key=${ansible_machine}
|
- group_by: key=machine_{{ ansible_machine }}
|
||||||
# Create groups like 'kvm-host'
|
# Create groups like 'kvm-host'
|
||||||
- group_by: key=${ansible_virtualization_type}-${ansible_virtualization_role}
|
- group_by: key=virt_{{ ansible_virtualization_type }}_{{ ansible_virtualization_role }}
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue