forgot prefix of /home/main user/rocketchat for dumps location

This commit is contained in:
BSounder 2022-07-07 21:01:37 -07:00
parent e5ebda52f4
commit 94cebe52a9
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@
- name: Copy backup we just took to home/{{ main_user }}/backups - name: Copy backup we just took to home/{{ main_user }}/backups
when: backup_db and not __backup_result.failed when: backup_db and not __backup_result.failed
ansible.builtin.copy: ansible.builtin.copy:
src: /dump/{{ ansible_date_time.iso8601 }} src: /home/{{ main_user }}/rocketchat/dump/{{ ansible_date_time.iso8601 }}
dest: /home/{{ main_user }}/backups/{{ ansible_date_time.iso8601 }}.gzip dest: /home/{{ main_user }}/backups/{{ ansible_date_time.iso8601 }}.gzip
remote_src: yes remote_src: yes