Commit f8a4ecfc authored by bow's avatar bow
Browse files

Fix on nginx initial start in Ansible

parent ae8595b3
......@@ -79,8 +79,9 @@
file: path=/etc/nginx/sites-enabled/sentinel src=/etc/nginx/sites-available/sentinel state=link
when: nginx_config|changed
- name: start nginx
service: name=nginx state=started enabled=yes
- name: (re)start nginx
service: name=nginx state=restarted enabled=yes
when: nginx_config|changed
- name: ensure scaladoc page is up
uri: url=http://127.0.0.1/scaladoc/index.html
......@@ -92,4 +93,4 @@
wait_for: host=127.0.0.1 port=8080
- name: ensure api-docs page is up
uri: url=http://127.0.0.1/api-docs
uri: url=http://127.0.0.1/api-docs/
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