summaryrefslogtreecommitdiff
path: root/test/integration/targets/setup_mysql8/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/setup_mysql8/handlers/main.yml')
-rw-r--r--test/integration/targets/setup_mysql8/handlers/main.yml29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/integration/targets/setup_mysql8/handlers/main.yml b/test/integration/targets/setup_mysql8/handlers/main.yml
deleted file mode 100644
index 6d30b5725c..0000000000
--- a/test/integration/targets/setup_mysql8/handlers/main.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-- name: stop mysql service
- service:
- name: mysqld
- state: stopped
- listen: cleanup mysql8
-
-- name: remove repo
- # yum:
- # name: mysql80-community-release
- # state: absent
- # Work around for a bug in the dnf module. Use the module once that gets fixed.
- # https://github.com/ansible/ansible/issues/64294
- command: "{{ ansible_facts.pkg_mgr}} -y erase mysql80-community-release"
- args:
- warn: no
- listen: cleanup mysql8
-
-- name: remove mysql packages
- yum:
- name: '{{ mysql_support_packages | union(mysql_server_packages) | union(mysql_cleanup_packages) }}'
- state: absent
- listen: cleanup mysql8
-
-- name: remove mysql data
- file:
- path: "{{ item }}"
- state: absent
- loop: "{{ mysql_data_dirs }}"
- listen: cleanup mysql8