From 8cc2c1830c0620b6d083c0543f2c732d91e6c228 Mon Sep 17 00:00:00 2001 From: Sergei Antipov Date: Thu, 25 Jun 2015 17:05:02 +0600 Subject: [PATCH] Fixed bug with mongodb_users --- meta/main.yml | 2 +- tasks/auth_initialization.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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