Fixed variable conditional

This commit is contained in:
Sergei Antipov 2016-03-04 01:22:38 +06:00
parent 6dd0a0da06
commit b6e2ffe362
1 changed files with 2 additions and 2 deletions

View File

@ -8,12 +8,12 @@
tags: [mongodb] tags: [mongodb]
- include: replication_init_auth.yml - include: replication_init_auth.yml
when: ( mongodb_conf_replSet and mongodb_conf_auth when: ( mongodb_conf_replSet != "" and mongodb_conf_auth
and mongodb_master is defined and mongodb_master ) and mongodb_master is defined and mongodb_master )
tags: [mongodb] tags: [mongodb]
- include: replication.yml - include: replication.yml
when: mongodb_conf_replSet when: mongodb_conf_replSet != ""
tags: [mongodb] tags: [mongodb]
- include: auth_initialization.yml - include: auth_initialization.yml