try rocketchat_mongo as container name for docker-compose exec backup task
This commit is contained in:
parent
b5a5dafad3
commit
2333edf7f8
|
@ -92,7 +92,7 @@
|
|||
- name: Backup existing RocketChat mongo database
|
||||
when: backup_db
|
||||
community.docker.docker_container_exec:
|
||||
container: mongo
|
||||
container: rocketchat_mongo
|
||||
command: mongodump --archive=/dump/{{ ansible_date_time.iso8601 }} --gzip
|
||||
chdir: /home/{{ main_user }}/rocketchat
|
||||
register: __backup_result
|
||||
|
|
Loading…
Reference in New Issue