summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-11-16 14:00:51 -0500
committerGitHub <noreply@github.com>2016-11-16 14:00:51 -0500
commitc848f7d0a6c9e5281075a034e26a99739da678f6 (patch)
tree109284804ac921b76b8fbcf5e38eb7316b57756e /roles/openshift_node
parent98e922e7f24bc1bcee2d8b43f2bbbf5b8c2f5127 (diff)
parente5cb11494c2fdc2a6e2c4c60349e0d4c6f6561e6 (diff)
downloadopenshift-c848f7d0a6c9e5281075a034e26a99739da678f6.tar.gz
openshift-c848f7d0a6c9e5281075a034e26a99739da678f6.tar.bz2
openshift-c848f7d0a6c9e5281075a034e26a99739da678f6.tar.xz
openshift-c848f7d0a6c9e5281075a034e26a99739da678f6.zip
Merge pull request #2636 from enlinxu/master
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 474df497e..6022694bc 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -77,6 +77,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: