We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a92d8d2 commit 503bf25Copy full SHA for 503bf25
2 files changed
roles/mongo/tasks/clusterconfig.yml
@@ -1,5 +1,4 @@
1
---
2
-<<<<<<< HEAD
3
4
- name: Debug replica settings
5
ansible.builtin.debug:
@@ -13,10 +12,6 @@
13
12
verbosity: 2
14
ignore_errors: true
15
16
-=======
17
-# todo this weorks only for new deployments
18
-# rewrite so mongo config can be changed and cluster members can be added or removed
19
->>>>>>> main
20
- name: Check if hosts are in clustered
21
ansible.builtin.command: mongosh --port {{ mongo_port }} --quiet --eval 'db.isMaster().hosts'
22
register: check_cluster
roles/mongo/tasks/install.yml
@@ -64,6 +64,7 @@
64
register: mongo_authentication_enabled
65
changed_when: false
66
67
+ check_mode: false # This can safely run in check mode because it is not changing anything
68
69
- name: Debug mongodb authentication check
70
0 commit comments