try rocketchat_mongo as container name for docker-compose exec backup task

This commit is contained in:
BSounder 2022-07-07 20:24:00 -07:00
parent b5a5dafad3
commit 2333edf7f8
1 changed files with 1 additions and 1 deletions

View File

@ -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