Setup daily mongodb backups
Need ansible 2+
mongo_backup_path: "/data/db/backups/"
mongo_backup_db: ""
mongo_backup_hour: "0"
mongo_backup_minute: "5"
mongo_backup_gzip: false
There is no dependencies. OFC Mongodb should be installed !
- hosts: servers
roles:
- { role: simplifield.mongo_backup, mongo_backup_db: dev_db }
- { role: simplifield.mongo_backup, mongo_backup_db: dev_db2 }
BSD