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
de251f9e
Commit
de251f9e
authored
Jan 21, 2016
by
bow
Browse files
Add task for creating config file
parent
6610e9d3
Changes
2
Show whitespace changes
Inline
Side-by-side
deployment/ansible-role-sentinel/tasks/deploy_jar.yml
View file @
de251f9e
...
...
@@ -49,3 +49,6 @@
-
name
:
copy assembled jar as deployment jar if required
copy
:
src={{ sentinel_asm_jar }} dest={{ sentinel_dep_jar }} remote_src=yes force=yes owner={{ sentinel_user }}
when
:
not dep_jar.stat.exists
-
name
:
copy config file
template
:
src=sentinel.conf.j2 dest={{ sentinel_dep_jar|dirname }}/sentinel.conf owner={{ sentinel_user }} group={{ sentinel_group }} mode=0400
deployment/ansible-role-sentinel/templates/sentinel.conf.j2
0 → 100644
View file @
de251f9e
# {{ ansible_managed }}
mongodb.userName={{ mongodb_user_sentinel_name }}
mongodb.password={{ mongodb_user_sentinel_password }}
{% if sentinel_production %}
sentinel.env=production
{% else %}
sentinel.env=development
{% endif %}
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