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 <dsavinea@redhat.com>
(cherry picked from commit c1af69a7e7)
pull/5815/head
Dimitri Savineau 2020-09-15 09:46:30 -04:00 committed by Dimitri Savineau
parent 470c1d821c
commit 042b9e81de
1 changed files with 3 additions and 0 deletions

View File

@ -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