Skip to content

Commit 8dc1ead

Browse files
authored
Merge pull request #784 from OpenConext/feature/mongo_5_full
disable backup option
2 parents 0d86dac + 111e689 commit 8dc1ead

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎roles/mongo/defaults/main.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
mongo_service: "mongod"
44
mongo_version: "7.0"
5+
mongo_backup: true
56

67
# In the current mongo role only one cluster per environments
78
# is possible, that works for now.

‎roles/mongo/tasks/postinstall.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
mode: "0700"
1717

1818
- name: Configure backup
19-
when: mongo_replication_role is not defined or mongo_replication_role != 'arbiter'
19+
when: (mongo_replication_role is not defined or mongo_replication_role != 'arbiter') and mongo_backup
2020
block:
2121
- name: Install the backup script
2222
ansible.builtin.template:

0 commit comments

Comments
 (0)