Commit b6c29d8e authored by Paschalis Korosoglou's avatar Paschalis Korosoglou

Add template action within argo-web-api role

parent a862da01
---
cors_support: "false"
---
- name: updated argo-web-api package
- name: restart argo-web-api service
service: name=argo-web-api state=restarted
\ No newline at end of file
......@@ -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 package
notify: restart argo-web-api service
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
[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
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