summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/nuage_master/tasks/serviceaccount.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nuage_master/tasks/serviceaccount.yml b/roles/nuage_master/tasks/serviceaccount.yml
index 124dad6e9..fbf2c4f8d 100644
--- a/roles/nuage_master/tasks/serviceaccount.yml
+++ b/roles/nuage_master/tasks/serviceaccount.yml
@@ -8,14 +8,14 @@
delegate_to: "{{ nuage_ca_master }}"
- name: Configure role/user permissions
- delegate_to: "{{ nuage_ca_master }}"
oc_adm_policy_user:
namespace: default
resource_name: "{{ item.resource_name }}"
resource_kind: "{{ item.resource_kind }}"
user: "{{ item.user }}"
- with_items: "{{nuage_tasks}}"
+ with_items: "{{ nuage_tasks }}"
run_once: True
+ delegate_to: "{{ nuage_ca_master }}"
- name: Generate the node client config
command: >