summaryrefslogtreecommitdiffstats
path: root/roles/openshift_manage_node
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-02-14 11:37:29 -0500
committerGitHub <noreply@github.com>2017-02-14 11:37:29 -0500
commit9973fc9d18e9be2f1cd29ac7133fb428c484dc17 (patch)
tree8ab019a4f6969f565f933d91009f1c0ad5bc1017 /roles/openshift_manage_node
parent85610bc98bc28d9a1034616d74c5d54948608aeb (diff)
parent1e0ec746a7521c5167975daf293e0b96395c8a56 (diff)
downloadopenshift-9973fc9d18e9be2f1cd29ac7133fb428c484dc17.tar.gz
openshift-9973fc9d18e9be2f1cd29ac7133fb428c484dc17.tar.bz2
openshift-9973fc9d18e9be2f1cd29ac7133fb428c484dc17.tar.xz
openshift-9973fc9d18e9be2f1cd29ac7133fb428c484dc17.zip
Merge pull request #3308 from mtnbikenc/oc_label
Modify playbooks to use oc_label module
Diffstat (limited to 'roles/openshift_manage_node')
-rw-r--r--roles/openshift_manage_node/tasks/main.yml3
1 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 73f55df12..9a883feed 100644
--- a/roles/openshift_manage_node/tasks/main.yml
+++ b/roles/openshift_manage_node/tasks/main.yml
@@ -31,7 +31,6 @@
name: "{{ openshift.node.nodename }}"
kind: node
state: list
- kubeconfig: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
register: get_node
until: "'metadata' in get_node.results.results[0]"
retries: 50
@@ -43,7 +42,6 @@
oadm_manage_node:
node: "{{ openshift.node.nodename | lower }}"
schedulable: "{{ 'true' if openshift.node.schedulable | bool else 'false' }}"
- kubeconfig: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
retries: 10
delay: 5
register: node_schedulable
@@ -57,7 +55,6 @@
kind: node
state: add
labels: "{{ openshift.node.labels | oo_dict_to_list_of_dict }}"
- kubeconfig: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
namespace: default
when:
- "'nodename' in openshift.node"