diff --git a/backup_ovh1.yml b/backup_ovh1.yml index ec88a1b..cc8d2bb 100755 --- a/backup_ovh1.yml +++ b/backup_ovh1.yml @@ -18,11 +18,11 @@ with_items: "{{ BACKUP_OVH1_VOLUMES }}" - 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 - 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 - name: Archive DB dumps