Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SASC
sentinel-legacy
Commits
c5bd80e6
Commit
c5bd80e6
authored
Jan 25, 2016
by
bow
Browse files
Add task to ensure MongoDB is running in Ansible
parent
dd2f53d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
deployment/ansible-role-mongodb/tasks/config_system.yml
View file @
c5bd80e6
...
...
@@ -28,3 +28,6 @@
-
name
:
restart mongodb if config changed
service
:
name={{ mongodb_daemon_name }} state=restarted
when
:
mongodb_conf|changed
-
name
:
ensure mongodb is running
wait_for
:
host={{ mongodb_conf_bind_ip }} port={{ mongodb_conf_port }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment