Tomcat logs base directory: accessible to all.
This commit is contained in:
parent
7f2f3118e9
commit
ee537413fb
|
@ -32,6 +32,13 @@
|
|||
register: tomcat_first_install
|
||||
tags: [ 'tomcat', 'tomcat_instances' ]
|
||||
|
||||
- name: Create the tomcat logs base directory
|
||||
file:
|
||||
dest: '{{ tomcat_m_instances_logdir_base }}'
|
||||
state: directory
|
||||
mode: 0755
|
||||
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_log_dir' ]
|
||||
|
||||
- name: Create the instances log dirs
|
||||
file: dest={{ tomcat_m_instances_logdir_base }}/{{ item.http_port }} owner={{ item.user }} group={{ item.user }} mode='0750' state=directory
|
||||
with_items: '{{ tomcat_m_instances }}'
|
||||
|
|
Loading…
Reference in New Issue