The log directory must not be readable by others.
This commit is contained in:
parent
e0d2777941
commit
26b733383f
|
@ -33,10 +33,10 @@
|
|||
tags: [ 'tomcat', 'tomcat_instances' ]
|
||||
|
||||
- name: Create the instances log dirs
|
||||
file: dest={{ tomcat_m_instances_logdir_base }}/{{ item.http_port }} owner={{ item.user }} group={{ item.user }} mode=0755 state=directory
|
||||
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 }}'
|
||||
register: tomcat_first_install
|
||||
tags: [ 'tomcat', 'tomcat_instances' ]
|
||||
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_log_dir' ]
|
||||
|
||||
- name: Create the instances work dirs
|
||||
file: dest={{ tomcat_m_cache_base }}/{{ item.http_port }} owner={{ item.user }} group={{ item.user }} mode=0755 state=directory
|
||||
|
|
Loading…
Reference in New Issue