This commit is contained in:
Alhassane Kone 2023-11-30 08:42:38 +01:00
parent a2e4e13f0e
commit 9e35ca41c6
2 changed files with 13 additions and 1 deletions

View File

@ -32,7 +32,7 @@
- name: 5. copier la base de donnée sur l'hôte distant - name: 5. copier la base de donnée sur l'hôte distant
copy: copy:
src: /tmp/sdis2023.sql src: sdis2023.sql
dest: /tmp/sdis2023.sql dest: /tmp/sdis2023.sql
- name: 6. Restore la base de donnée - name: 6. Restore la base de donnée

12
sio2/AP/drop.yml Normal file
View File

@ -0,0 +1,12 @@
---
- name: apdb
hosts: web
become: yes
tasks:
- name: 1. Suppression de la base de donnee 'sdis2023'
community.mysql.mysql_db:
name: sdis2023
state: absent
login_unix_socket: /var/run/mysqld/mysqld.sock