Adding new tasks and variable to resource-regsitry. The playbook is still not completed

This commit is contained in:
Luca Frosini 2019-02-15 17:49:01 +01:00
parent 3fe9dcf32b
commit ae53fdbe14
3 changed files with 11 additions and 1 deletions

View File

@ -6,3 +6,6 @@ resource_registry_name: resource-registry
resource_registry_extension: war
resource_registry_file: '{{ resource_registry_name }}-{{ resource_registry_version }}.{{ resource_registry_extension }}'
resource_registry_group_id: org.gcube.information-system
resource_registry_db_key_filename: '{{ orientdb_db_name }}.key'
resource_registry_db_key_algorithm: 'AES'

View File

@ -36,6 +36,10 @@
template: src=config.properties.j2 dest={{ smartgears_instance_path }}/webapps/{{ resource_registry_name }}/WEB-INF/classes/config.properties mode=0440
notify: Restart smartgears
- name: Install the resource registry DB key
file: dest={{ smartgears_instance_path }}/webapps/{{ resource_registry_name }}/WEB-INF/classes/{{ }} mode=0440
notify: Restart smartgears
become: True
become_user: '{{ d4science_user }}'
tags: [ 'smartgears', 'resource_registry', 'tomcat' ]

View File

@ -16,3 +16,6 @@ CHANGED_ADMIN_PASSWORD={{ orientdb_admin_password }}
DEFAULT_CREATED_WRITER_USER_PASSWORD={{ orientdb_writer_password }}
DEFAULT_CREATED_READER_USER_PASSWORD={{ orientdb_reader_password }}
DB_KEY_FILENAME={{ resource_registry_db_key_filename }}
DB_KEY_ALGORITHM={{ resource_registry_db_key_algorithm }}