oops forgot to set the when condition in rocketchat.yml
This commit is contained in:
parent
bbd93449f9
commit
5f041cc711
|
@ -90,7 +90,7 @@
|
||||||
var: ansible_date_time
|
var: ansible_date_time
|
||||||
|
|
||||||
- name: Backup existing RocketChat mongo database
|
- name: Backup existing RocketChat mongo database
|
||||||
when:
|
when: backup_db
|
||||||
community.docker.docker_container_exec:
|
community.docker.docker_container_exec:
|
||||||
container: mongo
|
container: mongo
|
||||||
command: mongodump --archive=/dump/{{ ansible_date_time.iso8601 }} --gzip
|
command: mongodump --archive=/dump/{{ ansible_date_time.iso8601 }} --gzip
|
||||||
|
|
Loading…
Reference in New Issue