Fixed bug with mongodb_users
This commit is contained in:
parent
2e736db061
commit
8cc2c1830c
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
version: 1.4.0
|
version: 1.4.1
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
login_port: "{{ mongodb_conf_port }}"
|
login_port: "{{ mongodb_conf_port }}"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ mongodb_users }}"
|
- "{{ mongodb_users }}"
|
||||||
|
when: mongodb_users
|
||||||
|
|
||||||
- name: Move back mongod.conf
|
- name: Move back mongod.conf
|
||||||
template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
|
template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
|
||||||
|
|
Loading…
Reference in New Issue