Skip to content

Commit aa9b77e

Browse files
committed
Merge pull request #49 from strangeman/master
Resolved error in single-node installation
2 parents 61b0083 + 5f10134 commit aa9b77e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
tags: [mongodb]
99

1010
- include: replication_init_auth.yml
11-
when: ( mongodb_conf_replSet is defined and mongodb_conf_auth
11+
when: ( mongodb_conf_replSet and mongodb_conf_auth
1212
and mongodb_master is defined and mongodb_master )
1313
tags: [mongodb]
1414

1515
- include: replication.yml
16-
when: mongodb_conf_replSet is defined
16+
when: mongodb_conf_replSet
1717
tags: [mongodb]
1818

1919
- include: auth_initialization.yml

0 commit comments

Comments
 (0)