maj
This commit is contained in:
parent
d78881a752
commit
4f6469cd98
@ -3,9 +3,18 @@
|
|||||||
hosts: web
|
hosts: web
|
||||||
become: yes
|
become: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: 1. recuperation de sdis2023.sql avec fetch
|
|
||||||
ansible.builtin.fetch:
|
|
||||||
src: /tmp/sdis2023.sql
|
- name: 1. Dump multiple databases
|
||||||
dest: /tmp/sdis2023.sql
|
community.mysql.mysql_db:
|
||||||
flat: yes
|
state: dump
|
||||||
|
name: sdis2023
|
||||||
|
target: /tmp/sdis2023.sql
|
||||||
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
- name: 2. recuperation de sdis2023.sql avec fetch
|
||||||
|
ansible.builtin.fetch:
|
||||||
|
src: /tmp/sdis2023.sql
|
||||||
|
dest: sdis2023-dump.sql
|
||||||
|
flat: yes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user