]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
switch2container: remove deb systemd units
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 15 Sep 2020 13:46:30 +0000 (09:46 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 17 Sep 2020 18:57:16 +0000 (14:57 -0400)
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 <dsavinea@redhat.com>
(cherry picked from commit c1af69a7e79a5909903490028f7ae13e519c98e0)

infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml

index c3ae65362c45dcdced526db16b666b179604e79e..57cae4bd600a5e122b779d9ffd2cb08c7f9972d0 100644 (file)
         - /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