summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/systemd_units.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-24 14:00:17 -0400
committerAndrew Butcher <abutcher@afrolegs.com>2016-05-24 14:00:17 -0400
commiteab842f5b6e5c04cda06c94cf8db3281d82c8ad6 (patch)
treeb1db958651234887d1c5f3d92dbbc195fa02c624 /roles/openshift_node/tasks/systemd_units.yml
parentd22ea74e40519d050ad427a2657f104a41724c74 (diff)
downloadopenshift-eab842f5b6e5c04cda06c94cf8db3281d82c8ad6.tar.gz
openshift-eab842f5b6e5c04cda06c94cf8db3281d82c8ad6.tar.bz2
openshift-eab842f5b6e5c04cda06c94cf8db3281d82c8ad6.tar.xz
openshift-eab842f5b6e5c04cda06c94cf8db3281d82c8ad6.zip
Conditionally bind mount /usr/bin/docker-current when it is present (#1941)
* Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
Diffstat (limited to 'roles/openshift_node/tasks/systemd_units.yml')
-rw-r--r--roles/openshift_node/tasks/systemd_units.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/systemd_units.yml b/roles/openshift_node/tasks/systemd_units.yml
index f3262803a..e2a268260 100644
--- a/roles/openshift_node/tasks/systemd_units.yml
+++ b/roles/openshift_node/tasks/systemd_units.yml
@@ -1,6 +1,13 @@
# This file is included both in the openshift_master role and in the upgrade
# playbooks.
+- name: Install Node dependencies docker service file
+ template:
+ dest: "/etc/systemd/system/{{ openshift.common.service_type }}-node-dep.service"
+ src: openshift.docker.node.dep.service
+ register: install_node_dep_result
+ when: openshift.common.is_containerized | bool
+
- name: Install Node docker service file
template:
dest: "/etc/systemd/system/{{ openshift.common.service_type }}-node.service"