summaryrefslogtreecommitdiff
path: root/lamp/tasks/clean.yml
diff options
context:
space:
mode:
Diffstat (limited to 'lamp/tasks/clean.yml')
-rw-r--r--lamp/tasks/clean.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/lamp/tasks/clean.yml b/lamp/tasks/clean.yml
new file mode 100644
index 0000000..7e3571e
--- /dev/null
+++ b/lamp/tasks/clean.yml
@@ -0,0 +1,15 @@
+---
+- name: supprimer la base de données test
+ community.mysql.mysql_db:
+ name: toto
+ state: absent
+ login_unix_socket: '{{mariadb.socket}}'
+
+- name: supprimer l'utilisateur test
+ community.mysql.mysql_user:
+ name: toto
+ password: secret
+ priv: 'toto.*:ALL'
+ state: absent
+ login_unix_socket: '{{mariadb.socket}}'
+