Skip to content
GitLab
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
b8313729
Commit
b8313729
authored
Dec 15, 2015
by
Paschalis Korosoglou
Browse files
Add two more tasks to handle lavoisier hidden properties file
parent
4c09bb19
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/webui/defaults/main.yml
View file @
b8313729
...
...
@@ -7,6 +7,8 @@ services:
lavoisier_home
:
/var/www/lavoisier
branch_name
:
master
argo_web
:
argo-egi-web
argo_api_key
:
some_api_key
contact_mail
:
foo@example.com
cert_dir
:
/etc/grid-security
cert_path
:
/etc/grid-security/hostcert.pem
...
...
roles/webui/tasks/main.yml
View file @
b8313729
...
...
@@ -91,6 +91,20 @@
state=present
notify
:
restart webui
-
name
:
Configure etc/lavoisier-hidden.properties step
8
lineinfile
:
dest={{ lavoisier_home }}/{{ argo_web }}-{{ branch_name }}/etc/lavoisier-hidden.properties
line='argo.api.key={{ argo_api_key }}'
regexp='^argo.api.key='
state=present
notify
:
restart webui
-
name
:
Configure etc/lavoisier-hidden.properties step
9
lineinfile
:
dest={{ lavoisier_home }}/{{ argo_web }}-{{ branch_name }}/etc/lavoisier-hidden.properties
line='contact.email={{ contact_email }}'
regexp='^contact.email='
state=present
notify
:
restart webui
-
name
:
Configure etc/security/passwords.properties
lineinfile
:
dest={{ lavoisier_home }}/{{ argo_web }}-{{ branch_name }}/etc/security/passwords.properties
line='admin={{ admin_password_md5 }}'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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