maj
This commit is contained in:
parent
a2e4e13f0e
commit
9e35ca41c6
@ -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
12
sio2/AP/drop.yml
Normal 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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user