forgot prefix of /home/main user/rocketchat for dumps location
This commit is contained in:
parent
e5ebda52f4
commit
94cebe52a9
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue