From 088d5904d2b691de7f40fe293a6677b9f8ce3fed Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Mon, 11 Dec 2017 18:48:04 +0100 Subject: [PATCH] Fixed credentials for thredds config.xml file --- thredds/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/thredds/tasks/main.yml b/thredds/tasks/main.yml index 51d91f4a..dfd6330b 100644 --- a/thredds/tasks/main.yml +++ b/thredds/tasks/main.yml @@ -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' ]