2019-10-19 13:10:35 +02:00
|
|
|
- name: Remove MariaDB repo
|
|
|
|
yum_repository:
|
|
|
|
name: MariaDB
|
|
|
|
state: absent
|
|
|
|
listen: cleanup mariadb
|
|
|
|
|
|
|
|
- name: Remove MariaDB related packages
|
|
|
|
yum:
|
2019-10-23 15:50:31 +02:00
|
|
|
name: "{{ packages_to_cleanup }}"
|
2019-10-19 13:10:35 +02:00
|
|
|
state: absent
|
|
|
|
listen: cleanup mariadb
|
|
|
|
|
|
|
|
- name: Remove related FS objects
|
|
|
|
file:
|
|
|
|
state: absent
|
|
|
|
path: "{{ item }}"
|
2019-10-23 15:50:31 +02:00
|
|
|
loop: "{{ fs_objects_to_clean_up }}"
|
2019-10-19 13:10:35 +02:00
|
|
|
listen: cleanup mariadb
|