22 lines
571 B
YAML
22 lines
571 B
YAML
---
|
|
- name: "mariadb: Richte automysqlbackup ein"
|
|
lineinfile:
|
|
path: /etc/default/automysqlbackup
|
|
regexp: '^#POSTBACKUP='
|
|
line: POSTBACKUP="{{ scripts_path }}/automysqlbackup_post_script"
|
|
|
|
- name: "mariab: Prüfe scripts-Verzeichnis"
|
|
file:
|
|
path: "{{ scripts_path }}"
|
|
state: touch
|
|
|
|
- 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
|