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:
parent
d393a18363
commit
0e23f54b93
|
@ -10,5 +10,3 @@ geonetwork_download_url: 'https://downloads.sourceforge.net/project/geonetwork/G
|
|||
geonetwork_download_directory: /srv/geonetwork
|
||||
geonetwork_data_directory: /srv/geonetwork_data
|
||||
|
||||
geonetwork_cubeapp_url: 'https://data.d4science.org/WmEwY1NwZnJ5NUtoUVBUV0w3NlBFdGEvemdvV3lUY1dHbWJQNStIS0N6Yz0'
|
||||
geonetwork_configxml_url: 'https://data.d4science.org/RGlieWNEaVRDTUdoUVBUV0w3NlBFZ0Uwc2RqRm1zM05HbWJQNStIS0N6Yz0'
|
||||
|
|
|
@ -31,13 +31,8 @@
|
|||
with_items: '{{ tomcat_m_instances }}'
|
||||
notify: tomcat instances restart
|
||||
|
||||
- name: Install the gcubeapps configuration
|
||||
get_url: url={{ geonetwork_cubeapp_url }} dest={{ item.instance_path }}/webapps/{{ geonetwork_app_name }}/WEB-INF/gcube-app.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
|
||||
- name: Configure geonetwork using our template
|
||||
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
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue