From a5e4567c4c194d5ba94807201c824c755302774a Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 19 Jul 2013 09:43:27 -0400 Subject: [PATCH] Remove legacy variable usage. --- library/inventory/group_by | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/inventory/group_by b/library/inventory/group_by index e2868faadf..d09552e662 100644 --- a/library/inventory/group_by +++ b/library/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 }} '''