andgel.sassignol e3bd661307 ap34
2023-01-04 15:46:47 +00:00

16 lines
358 B
Plaintext

- name: creer une sauvegarde
mysql_db:
name: sdis29
state: dump
target: /tmp/sdis29.sql
login_host: localhost
login_user: slam
login_password: Azerty1+
login_unix_user: /var/run/mysqld/mysqld.sock
- name: Copie de la sauv distante
ansible.builtin.fetch:
src: /tmp/sdis29.sql
dest: /root/sauvegarde/sql/
flat: yes