Commit b8313729 authored by Paschalis Korosoglou's avatar Paschalis Korosoglou
Browse files

Add two more tasks to handle lavoisier hidden properties file

parent 4c09bb19
......@@ -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
......
......@@ -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 }}'
......
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