forked from ISTI-ansible-roles/ansible-roles
Fixed credentials for thredds config.xml file
This commit is contained in:
parent
c81476b78d
commit
088d5904d2
|
@ -23,10 +23,10 @@
|
|||
tags: [ 'thredds', 'tomcat', 'thredds_conf' ]
|
||||
|
||||
- name: Install the Thredds configuration files
|
||||
template: src={{ item }}.j2 dest={{ thredds_data_content_dir }}/thredds/{{ item }} owner={{ item.user }} group={{ item.user }} mode=644
|
||||
with_items:
|
||||
- threddsConfig.xml
|
||||
- catalog.xml
|
||||
template: src={{ item[1] }}.j2 dest={{ thredds_data_content_dir }}/thredds/{{ item[1] }} owner={{ item.0.user }} group={{ item.0.user }} mode=644
|
||||
with_nested:
|
||||
- '{{ tomcat_m_instances }}'
|
||||
- ['threddsConfig.xml','catalog.xml']
|
||||
notify: tomcat instances restart
|
||||
when: not thredds_skip_conf.stat.exists
|
||||
tags: [ 'thredds', 'tomcat', 'thredds_conf' ]
|
||||
|
|
Loading…
Reference in New Issue