Merge pull request #61 from ecerulm/patch-1

Ensure service is started
This commit is contained in:
Sergei Antipov 2016-05-10 14:17:43 +07:00
commit cc835a3f18
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@
service: name={{ mongodb_daemon_name }} state=restarted
when: config_result|changed and mongodb_manage_service
- name: Ensure service is started
service: name={{ mongodb_daemon_name }} state=started
- name: Set fact about wait_for host address
set_fact:
wait_for_host: 127.0.0.1