From 42998dfa4cd2922b5fb6f3e19caf060a410df555 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 31 Mar 2016 01:08:00 -0500 Subject: [PATCH] removed duplicate key In review of this role it was discovered that we had a duplicate key within a task. While this is acceptable in Ansible as it will just use the last key found in a given task it is wrong and should be removed. In later version of Ansible (2.1.0) a warning is printed stating something similar to the following: [WARNING]: While constructing a mapping from xxx.yml, line xx, column xx, found a duplicate dict key (changed_when). Using last defined value only. [WARNING]: While constructing a mapping from xxx.yml, line xx, column xx, found a duplicate dict key (changed_when). Using last defined value only. This chage cleans up the role by removing the duplication. Change-Id: I0afe46a767683350ec5f737ae273b2b2aa060d65 Signed-off-by: Kevin Carter --- tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 87576f00..b5b247d5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -67,7 +67,6 @@ - keystone-ldap - include: keystone_federation_sp_idp_setup.yml - when: when: - keystone_service_setup | bool - keystone_sp is defined