mariadb: Migrate to use backup_base
This commit is contained in:
parent
b692084f16
commit
849b4ab887
3 changed files with 6 additions and 22 deletions
|
@ -96,27 +96,6 @@
|
|||
group: "{{ ansible_wheel }}"
|
||||
when: mariadb_root_password is defined
|
||||
|
||||
- name: Import sftpuser role
|
||||
ansible.builtin.import_role:
|
||||
name: sftpuser
|
||||
|
||||
- name: Create backup directory
|
||||
ansible.builtin.file:
|
||||
path: /export/backup
|
||||
state: directory
|
||||
mode: "02750"
|
||||
owner: root
|
||||
group: backup
|
||||
|
||||
- name: Link backup directory
|
||||
ansible.builtin.file:
|
||||
path: /srv/backup
|
||||
src: /export/backup
|
||||
state: link
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
follow: false
|
||||
|
||||
- name: Copy backup script
|
||||
ansible.builtin.copy:
|
||||
dest: /usr/local/sbin/mariadb-backup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue