From 042b9e81de80cb7033550729a7c8570cb51cd20d Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Tue, 15 Sep 2020 09:46:30 -0400 Subject: [PATCH] switch2container: remove deb systemd units When running the switch2container playbook on a Debian based system then the systemd unit path isn't the same than Red Hat based system. Because the systemd unit files aren't removed then the new container systemd unit isn't take in count. Signed-off-by: Dimitri Savineau (cherry picked from commit c1af69a7e79a5909903490028f7ae13e519c98e0) --- ...ch-from-non-containerized-to-containerized-ceph-daemons.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index c3ae65362..57cae4bd6 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -249,6 +249,9 @@ - /usr/lib/systemd/system/ceph-osd.target - /usr/lib/systemd/system/ceph-osd@.service - /usr/lib/systemd/system/ceph-volume@.service + - /lib/systemd/system/ceph-osd.target + - /lib/systemd/system/ceph-osd@.service + - /lib/systemd/system/ceph-volume@.service - /etc/systemd/system/ceph.target.wants - name: dmcrypt extra operations -- 2.39.5