summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-06-30 14:34:46 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-06-30 14:34:46 -0400
commitc967fe862dc78150d5b954d0cbc625e070ec6d77 (patch)
treefd3af387cc160bb340a1047541c442baaa63bd73 /roles
parent06a1cf34750bd43fd4d3dd8fda0c4bb1cbefa059 (diff)
downloadopenshift-c967fe862dc78150d5b954d0cbc625e070ec6d77.tar.gz
openshift-c967fe862dc78150d5b954d0cbc625e070ec6d77.tar.bz2
openshift-c967fe862dc78150d5b954d0cbc625e070ec6d77.tar.xz
openshift-c967fe862dc78150d5b954d0cbc625e070ec6d77.zip
Removing unneeded delegate_to calls
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_manage_node/tasks/main.yml2
-rw-r--r--roles/openshift_node_certificates/tasks/main.yml1
2 files changed, 0 insertions, 3 deletions
diff --git a/roles/openshift_manage_node/tasks/main.yml b/roles/openshift_manage_node/tasks/main.yml
index d4c623f10..b9ab16e7c 100644
--- a/roles/openshift_manage_node/tasks/main.yml
+++ b/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
diff --git a/roles/openshift_node_certificates/tasks/main.yml b/roles/openshift_node_certificates/tasks/main.yml
index 1b68bc673..949afc5eb 100644
--- a/roles/openshift_node_certificates/tasks/main.yml
+++ b/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