diff --git a/meta/main.yml b/meta/main.yml index 2bebf94..e42ac98 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,6 +1,6 @@ --- -version: 1.4.0 +version: 1.4.1 dependencies: [] galaxy_info: diff --git a/tasks/auth_initialization.yml b/tasks/auth_initialization.yml index 0bc107d..c48d475 100644 --- a/tasks/auth_initialization.yml +++ b/tasks/auth_initialization.yml @@ -45,6 +45,7 @@ login_port: "{{ mongodb_conf_port }}" with_items: - "{{ mongodb_users }}" + when: mongodb_users - name: Move back mongod.conf template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644