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
f8a4ecfc
Commit
f8a4ecfc
authored
Jan 24, 2016
by
bow
Browse files
Fix on nginx initial start in Ansible
parent
ae8595b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
deployment/ansible-role-sentinel/tasks/deploy.yml
View file @
f8a4ecfc
...
@@ -79,8 +79,9 @@
...
@@ -79,8 +79,9 @@
file
:
path=/etc/nginx/sites-enabled/sentinel src=/etc/nginx/sites-available/sentinel state=link
file
:
path=/etc/nginx/sites-enabled/sentinel src=/etc/nginx/sites-available/sentinel state=link
when
:
nginx_config|changed
when
:
nginx_config|changed
-
name
:
start nginx
-
name
:
(re)start nginx
service
:
name=nginx state=started enabled=yes
service
:
name=nginx state=restarted enabled=yes
when
:
nginx_config|changed
-
name
:
ensure scaladoc page is up
-
name
:
ensure scaladoc page is up
uri
:
url=http://127.0.0.1/scaladoc/index.html
uri
:
url=http://127.0.0.1/scaladoc/index.html
...
@@ -92,4 +93,4 @@
...
@@ -92,4 +93,4 @@
wait_for
:
host=127.0.0.1 port=8080
wait_for
:
host=127.0.0.1 port=8080
-
name
:
ensure api-docs page is up
-
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
/
Write
Preview
Supports
Markdown
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