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
9abcd481
Commit
9abcd481
authored
Jan 21, 2016
by
bow
Browse files
Add Ansible steps to ensure URIs are up
parent
766a440b
Changes
2
Hide whitespace changes
Inline
Side-by-side
deployment/ansible-role-sentinel/tasks/config.yml
View file @
9abcd481
...
...
@@ -19,6 +19,7 @@
-
python-dev
-
python-pip
-
python-virtualenv
-
python-httplib2
-
openjdk-8-jre-headless
-
openjdk-8-jdk
...
...
deployment/ansible-role-sentinel/tasks/deploy.yml
View file @
9abcd481
...
...
@@ -73,11 +73,20 @@
notify
:
restart nginx
register
:
nginx_config
-
name
:
disable default nginx configuration
file
:
path=/etc/nginx/sites-enabled/default state=absent
notify
:
restart nginx
-
name
:
enable sentinel nginx configuration
file
:
path=/etc/nginx/sites-enabled/sentinel src=/etc/nginx/sites-available/sentinel state=link
notify
:
restart nginx
when
:
nginx_config|changed
-
name
:
disable default nginx configuration
file
:
path=/etc/nginx/sites-enabled/default state=absent
notify
:
restart nginx
-
name
:
ensure scaladoc page is up
uri
:
url=http://127.0.0.1/scaladoc/index.html
-
name
:
ensure guide page is up
uri
:
url=http://127.0.0.1/guide/index.html
-
name
:
ensure api-docs page is up
uri
:
url=http://127.0.0.1/api-docs
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