diff --git a/tasks/main.yml b/tasks/main.yml index 710c1c2..701e677 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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