Commit 1bed6169 by John Jarvis

stop nginx when start_services is set to false

parent c0dd08d9
......@@ -112,3 +112,8 @@
# any reason, this will ensure that it is started up again.
- name: nginx | make sure nginx has started
service: name=nginx state=started
when: start_services
- name: nginx | make sure nginx has stopped
service: name=nginx state=stopped
when: not start_services
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment