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
Anastasios Lisgaras
GitHubHistory
Commits
b6c29d8e
Commit
b6c29d8e
authored
Mar 18, 2016
by
Paschalis Korosoglou
Browse files
Add template action within argo-web-api role
parent
a862da01
Changes
4
Show whitespace changes
Inline
Side-by-side
roles/webapi/defaults/main.yml
0 → 100644
View file @
b6c29d8e
---
cors_support
:
"
false"
roles/webapi/handlers/main.yml
View file @
b6c29d8e
---
-
name
:
updated
argo-web-api
packag
e
-
name
:
restart
argo-web-api
servic
e
service
:
name=argo-web-api state=restarted
\ No newline at end of file
roles/webapi/tasks/main.yml
View file @
b6c29d8e
...
...
@@ -2,9 +2,15 @@
-
name
:
Install argo-web-api package
yum
:
name=argo-web-api state=latest enablerepo={{ enabled_argo_repo }}
notify
:
updated
argo-web-api
packag
e
notify
:
restart
argo-web-api
servic
e
tags
:
api
-
name
:
Configure argo-web-api
template
:
src=argo-web-api.conf.j2
dest=argo-web-api.conf backup-yes
owner=root group=root mode=0644
notify
:
restart argo-web-api service
-
name
:
Start web api service
service
:
name=argo-web-api state=started
tags
:
api
roles/webapi/templates/argo-web-api.conf.j2
0 → 100644
View file @
b6c29d8e
[server]
bindip = ""
port = 443
maxprocs = 4
cache = false
lrucache = 700000000
gzip = true
cert = /etc/pki/tls/certs/localhost.crt
privkey = /etc/pki/tls/private/localhost.key
reqsizelimit = 1073741824
enablecors = {{ cors_support }}
[mongodb]
host = "127.0.0.1"
port = 27017
db = "argo_core"
\ No newline at end of file
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