瀏覽代碼

Spacing and moving deleget_to to bottom.

Kenny Woodson 8 年之前
父節點
當前提交
6a42094535
共有 1 個文件被更改,包括 2 次插入2 次删除
  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: >