ansible-role-mariadb/tasks/mariadb.yml
2021-05-26 07:36:55 +02:00

17 lines
469 B
YAML

---
- name: "mariadb: Richte automysqlbackup ein"
lineinfile:
path: /etc/default/automysqlbackup
regexp: '^#POSTBACKUP='
line: POSTBACKUP="{{ scripts_path }}/automysqlbackup_post_script"
- name: "mariadb: Erstelle scripts-Verzeichnis"
file:
path: "{{ scripts_path }}"
state: directory
- name: "mariadb: Richte Backup ein 2"
copy:
src: automysqlbackup_post_script
dest: "{{ scripts_path }}/automysqlbackup_post_script"
mode: 0755