forked from ISTI-ansible-roles/ansible-roles
tomcat-multiple-instances: Create the tmp directory with the correct permissions and ownership.
This commit is contained in:
parent
25eebdf57f
commit
042c6a7767
|
@ -56,8 +56,8 @@
|
|||
register: tomcat_first_install
|
||||
tags: [ 'tomcat', 'tomcat_instances' ]
|
||||
|
||||
- name: Create the tmp directory
|
||||
file: dest={{ item.catalina_tmp_directory }} state=directory
|
||||
- name: Create the catalina tmp directory
|
||||
file: dest={{ item.catalina_tmp_directory }} state=directory owner={{ item.0.user }} group={{ item.0.user }} mode=0700
|
||||
with_items: '{{ tomcat_m_instances }}'
|
||||
when: item.catalina_tmp_directory is defined
|
||||
tags: [ 'tomcat', 'tomcat_instances' ]
|
||||
|
|
Loading…
Reference in New Issue