Fix path in tar.
This commit is contained in:
parent
fc36658fc5
commit
9ac7cf3e0d
@ -18,11 +18,11 @@
|
|||||||
with_items: "{{ BACKUP_OVH1_VOLUMES }}"
|
with_items: "{{ BACKUP_OVH1_VOLUMES }}"
|
||||||
|
|
||||||
- name: Find lastest MySQL DB dump
|
- name: Find lastest MySQL DB dump
|
||||||
ansible.builtin.shell: "ls -tr /mnt/volumes/mysql-server_dumps/data/mysql_dump-mysql_*"
|
ansible.builtin.shell: "cd /mnt/volumes; ls -tr mysql-server_dumps/data/mysql_dump-mysql_*"
|
||||||
register: MySQL_dump
|
register: MySQL_dump
|
||||||
|
|
||||||
- name: Find lastest applications DB dump
|
- name: Find lastest applications DB dump
|
||||||
ansible.builtin.shell: "ls -tr /mnt/volumes/mysql-server_dumps/data/mysql_dump_*"
|
ansible.builtin.shell: "cd /mnt/volumes; ls -tr mysql-server_dumps/data/mysql_dump_*"
|
||||||
register: DBs_dump
|
register: DBs_dump
|
||||||
|
|
||||||
- name: Archive DB dumps
|
- name: Archive DB dumps
|
||||||
|
Loading…
Reference in New Issue
Block a user