Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GitHubHistory
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anastasios Lisgaras
GitHubHistory
Commits
b6c29d8e
Commit
b6c29d8e
authored
Mar 18, 2016
by
Paschalis Korosoglou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add template action within argo-web-api role
parent
a862da01
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
roles/webapi/defaults/main.yml
roles/webapi/defaults/main.yml
+3
-0
roles/webapi/handlers/main.yml
roles/webapi/handlers/main.yml
+1
-1
roles/webapi/tasks/main.yml
roles/webapi/tasks/main.yml
+7
-1
roles/webapi/templates/argo-web-api.conf.j2
roles/webapi/templates/argo-web-api.conf.j2
+16
-0
No files found.
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