diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-07-19 09:43:27 -0400 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-07-19 09:43:27 -0400 |
commit | 8a135ed572b67edf4aedf9a0d1335400fdfbd520 (patch) | |
tree | f20049e1420fd6d38de946132d399fabf49ac098 /inventory | |
parent | 43429e96630d20cf907f133c9eb4518158d2b6b7 (diff) | |
download | ansible-modules-core-8a135ed572b67edf4aedf9a0d1335400fdfbd520.tar.gz |
Remove legacy variable usage.
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_by | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inventory/group_by b/inventory/group_by index e2868faa..d09552e6 100644 --- a/inventory/group_by +++ b/inventory/group_by @@ -19,7 +19,7 @@ notes: EXAMPLES = ''' # Create groups based on the machine architecture -- group_by: key=${ansible_machine} +- group_by: key=machine_{{ ansible_machine }} # Create groups like 'kvm-host' -- group_by: key=${ansible_virtualization_type}-${ansible_virtualization_role} +- group_by: key=virt_{{ ansible_virtualization_type }}_{{ ansible_virtualization_role }} ''' |