Browse Source

Removing unneeded delegate_to calls

Brenton Leanhardt 9 years ago
parent
commit
c967fe862d

+ 0 - 2
roles/openshift_manage_node/tasks/main.yml

@@ -1,11 +1,9 @@
 - name: Handle unscheduleable node
-  delegate_to: "{{ openshift_first_master }}"
   command: >
     {{ openshift.common.admin_binary }} manage-node {{ item }} --schedulable=false
   with_items: openshift_unscheduleable_nodes
 
 - name: Handle scheduleable node
-  delegate_to: "{{ openshift_first_master }}"
   command: >
     {{ openshift.common.admin_binary }} manage-node {{ item }} --schedulable=true
   with_items: openshift_scheduleable_nodes

+ 0 - 1
roles/openshift_node_certificates/tasks/main.yml

@@ -21,7 +21,6 @@
   with_items: nodes_needing_certs
 
 - name: Generate the node server certificate
-  delegate_to: "{{ openshift_first_master }}"
   command: >
     {{ openshift.common.admin_binary }} create-server-cert
       --cert=server.crt --key=server.key --overwrite=true