diff options
author | Vadim Rutkovsky <vrutkovs@redhat.com> | 2018-01-05 17:53:16 +0100 |
---|---|---|
committer | Vadim Rutkovsky <vrutkovs@redhat.com> | 2018-01-05 18:57:19 +0100 |
commit | 45d3a1d919290daf5f2ca9523fb847db13de0ad6 (patch) | |
tree | e7a39edf7f936019f5e0fd1bf356ffebab3066cc /roles/openshift_node/tasks | |
parent | 9f19afc7529bd7293433b27e834b9ee3479e646f (diff) | |
download | openshift-45d3a1d919290daf5f2ca9523fb847db13de0ad6.tar.gz openshift-45d3a1d919290daf5f2ca9523fb847db13de0ad6.tar.bz2 openshift-45d3a1d919290daf5f2ca9523fb847db13de0ad6.tar.xz openshift-45d3a1d919290daf5f2ca9523fb847db13de0ad6.zip |
Don't overwrite node's systemd units for containerized install
Systemd units are being updated in ../systemd_units.yml
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/upgrade/config_changes.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/tasks/upgrade/config_changes.yml b/roles/openshift_node/tasks/upgrade/config_changes.yml index 50044eb3e..210d174c2 100644 --- a/roles/openshift_node/tasks/upgrade/config_changes.yml +++ b/roles/openshift_node/tasks/upgrade/config_changes.yml @@ -60,6 +60,7 @@ dest: "/etc/systemd/system/{{ openshift_service_type }}-node.service" src: "node.service.j2" register: l_node_unit + when: not openshift_is_containerized | bool - name: Reset selinux context command: restorecon -RF {{ openshift_node_data_dir }}/openshift.local.volumes @@ -74,4 +75,3 @@ # require a service to be part of the call. - name: Reload systemd units command: systemctl daemon-reload - when: l_node_unit is changed |