From e7795d144dbb3836fbb88cb5f4dcf554dd1c6e23 Mon Sep 17 00:00:00 2001 From: Kirill Klenov Date: Mon, 9 Jun 2014 12:59:15 +0400 Subject: [PATCH] Update the role. --- tasks/mongodb.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/mongodb.yml b/tasks/mongodb.yml index d69fb3b..5d704d8 100644 --- a/tasks/mongodb.yml +++ b/tasks/mongodb.yml @@ -3,4 +3,7 @@ - include: install.deb.yml when: ansible_os_family == 'Debian' +- name: Ensure mongodb is started + service: name=mongodb state=started + - include: configure.yml