From e72b278849be850f0202e9f837bb6fba76f0f0b0 Mon Sep 17 00:00:00 2001 From: Vishal Patil Date: Sun, 20 Nov 2016 22:07:28 -0500 Subject: Modified the error message being checked for --- roles/nuage_master/tasks/serviceaccount.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nuage_master/tasks/serviceaccount.yml b/roles/nuage_master/tasks/serviceaccount.yml index 2b3ae0454..41143772e 100644 --- a/roles/nuage_master/tasks/serviceaccount.yml +++ b/roles/nuage_master/tasks/serviceaccount.yml @@ -29,7 +29,7 @@ --config={{nuage_tmp_conf}} with_items: "{{nuage_tasks}}" register: osnuage_perm_task - failed_when: "'already exists' not in osnuage_perm_task.stderr and osnuage_perm_task.rc != 0" + failed_when: "'the object has been modified' not in osnuage_perm_task.stderr and osnuage_perm_task.rc != 0" changed_when: osnuage_perm_task.rc == 0 - name: Generate the node client config -- cgit v1.2.3