Create thredds subdir if not there before initialization #1
|
@ -17,6 +17,10 @@
|
||||||
file: path={{ thredds_data_content_dir }} state=directory owner={{ item.user }} group={{ item.user }}
|
file: path={{ thredds_data_content_dir }} state=directory owner={{ item.user }} group={{ item.user }}
|
||||||
with_items: '{{ tomcat_m_instances }}'
|
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
|
- name: Check if the configuration files were already initialized with our versions
|
||||||
stat: path={{ thredds_data_content_dir }}/thredds/.conf_initialized
|
stat: path={{ thredds_data_content_dir }}/thredds/.conf_initialized
|
||||||
register: thredds_skip_conf
|
register: thredds_skip_conf
|
||||||
|
|
Loading…
Reference in New Issue