mirror of https://github.com/ceph/ceph-ansible.git
remove configuration files for ceph packages on ubuntu clusters
For apt-get, purge command needs to be used, instead of remove command, to remove related configuration files. Otherwise, packages might be shown as installed while running dpkg command even after removing them. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1640061 Signed-off-by: Rishabh Dave <ridave@redhat.com>pull/3295/head
parent
811f043947
commit
640cad3fd8
|
@ -566,6 +566,7 @@
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
purge: true
|
||||||
with_items: "{{ ceph_packages }}"
|
with_items: "{{ ceph_packages }}"
|
||||||
when: ansible_pkg_mgr == 'apt'
|
when: ansible_pkg_mgr == 'apt'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue