Create thredds subdir if not there before initialization #1

Closed
tpiccioli wants to merge 1 commits from tpiccioli-patch-1 into master
1 changed files with 4 additions and 0 deletions

View File

@ -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