diff --git a/tasks/main.yml b/tasks/main.yml index 5c24f43..db67be7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -17,6 +17,10 @@ file: path={{ thredds_data_content_dir }} state=directory owner={{ item.user }} group={{ item.user }} with_items: '{{ tomcat_m_instances }}' + - name: Create the Thredds data configuration subdir + file: path={{ thredds_data_content_dir }}/thredds state=directory owner={{ item.user }} group={{ common_users_group }} + with_items: '{{ tomcat_m_instances }}' + - name: Check if the configuration files were already initialized with our versions stat: path={{ thredds_data_content_dir }}/thredds/.conf_initialized register: thredds_skip_conf