18 lines
469 B
YAML
18 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
|