Ver Fonte

Spacing and moving deleget_to to bottom.

Kenny Woodson há 8 anos atrás
pai
commit
6a42094535
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      roles/nuage_master/tasks/serviceaccount.yml

+ 2 - 2
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: >