Bladeren bron

Spacing and moving deleget_to to bottom.

Kenny Woodson 8 jaren geleden
bovenliggende
commit
6a42094535
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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: >