The task "remove old systemd unit file" under "switching from
non-containerized to containerized ceph rgw" only removes
the ceph-radosgw@.service file. The task should also remove
the ceph-radosgw.target file, like the "remove old systemd unit
files" tasks for the mons, mgrs, osds, etc, in order to clean up
all of the unused systemd unit files.
Signed-off-by: Kevin Coakley <kcoakley@sdsc.edu>
(cherry picked from commit
d19e6033b227c621b6c794db4f571151e5bbf9c4)
enabled: no
with_items: "{{ rgw_instances }}"
- - name: remove old systemd unit file
+ - name: remove old systemd unit files
file:
- path: /usr/lib/systemd/system/ceph-radosgw@.service
+ path: /usr/lib/systemd/system/{{ item }}
state: absent
+ with_items:
+ - ceph-radosgw@.service
+ - ceph-radosgw.target
- import_role:
name: ceph-handler