library/roles/geonetwork/geonetwork: The config file is now a template. The gcube personalizations are now handled by a separate role.

This commit is contained in:
Andrea Dell'Amico 2017-05-09 14:24:18 +02:00
parent d393a18363
commit 0e23f54b93
3 changed files with 1277 additions and 9 deletions

View File

@ -10,5 +10,3 @@ geonetwork_download_url: 'https://downloads.sourceforge.net/project/geonetwork/G
geonetwork_download_directory: /srv/geonetwork geonetwork_download_directory: /srv/geonetwork
geonetwork_data_directory: /srv/geonetwork_data geonetwork_data_directory: /srv/geonetwork_data
geonetwork_cubeapp_url: 'https://data.d4science.org/WmEwY1NwZnJ5NUtoUVBUV0w3NlBFdGEvemdvV3lUY1dHbWJQNStIS0N6Yz0'
geonetwork_configxml_url: 'https://data.d4science.org/RGlieWNEaVRDTUdoUVBUV0w3NlBFZ0Uwc2RqRm1zM05HbWJQNStIS0N6Yz0'

View File

@ -31,13 +31,8 @@
with_items: '{{ tomcat_m_instances }}' with_items: '{{ tomcat_m_instances }}'
notify: tomcat instances restart notify: tomcat instances restart
- name: Install the gcubeapps configuration - name: Configure geonetwork using our template
get_url: url={{ geonetwork_cubeapp_url }} dest={{ item.instance_path }}/webapps/{{ geonetwork_app_name }}/WEB-INF/gcube-app.xml template: src=geonetwork_config.xml.j2 dest={{ item.instance_path }}/webapps/{{ geonetwork_app_name }}/WEB-INF/config.xml
with_items: '{{ tomcat_m_instances }}'
notify: tomcat instances restart
- name: Configure geonetwork
get_url: url={{ geonetwork_configxml_url }} dest={{ item.instance_path }}/webapps/{{ geonetwork_app_name }}/WEB-INF/config.xml
with_items: '{{ tomcat_m_instances }}' with_items: '{{ tomcat_m_instances }}'
notify: tomcat instances restart notify: tomcat instances restart

File diff suppressed because it is too large Load Diff