summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorenlinxu <jannleno1@gmail.com>2016-10-20 09:11:42 -0400
committerenlinxu <jannleno1@gmail.com>2016-10-20 09:11:42 -0400
commite5cb11494c2fdc2a6e2c4c60349e0d4c6f6561e6 (patch)
tree14b208c47ee3e1ba9894518c3270efd402c8c983 /roles/openshift_node
parent4a5b2dd0510ac092da44a09730a734fe9ef7e112 (diff)
downloadopenshift-e5cb11494c2fdc2a6e2c4c60349e0d4c6f6561e6.tar.gz
openshift-e5cb11494c2fdc2a6e2c4c60349e0d4c6f6561e6.tar.bz2
openshift-e5cb11494c2fdc2a6e2c4c60349e0d4c6f6561e6.tar.xz
openshift-e5cb11494c2fdc2a6e2c4c60349e0d4c6f6561e6.zip
support 3rd party scheduler
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 1de63ecc3..564f619d8 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -73,6 +73,11 @@
- set_fact:
ovs_service_status_changed: "{{ ovs_start_result | changed }}"
+- file:
+ dest: "{{ (openshift_node_kubelet_args|default({'config':None})).config}}"
+ state: directory
+ when: openshift_node_kubelet_args is defined and 'config' in openshift_node_kubelet_args
+
# TODO: add the validate parameter when there is a validation command to run
- name: Create the Node config
template: