2015-08-27 17:14:27 +02:00
|
|
|
---
|
|
|
|
- name: Create the dnet data dirs
|
|
|
|
file: name={{ item }} state=directory owner={{ dnet_user }} group={{ dnet_group }} mode=0750
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_data_directories }}'
|
2015-08-27 17:14:27 +02:00
|
|
|
tags: [ 'tomcat', 'dnet', 'users' ]
|
|
|
|
|
|
|
|
- name: Create the dnet log dirs
|
|
|
|
file: name={{ item }} state=directory owner={{ tomcat_user }} group={{ dnet_group }} mode=0750
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_log_directories }}'
|
2015-08-27 17:14:27 +02:00
|
|
|
tags: [ 'tomcat', 'dnet', 'users' ]
|
|
|
|
|
|
|
|
- name: Set the read/write permissions on the dnet data dirs
|
2017-11-09 19:40:41 +01:00
|
|
|
acl: name={{ item }} entity={{ dnet_group }} etype=group permissions=rwX state=present recursive=yes
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_data_directories }}'
|
2015-08-27 17:14:27 +02:00
|
|
|
tags: [ 'tomcat', 'dnet', 'users' ]
|
|
|
|
|
|
|
|
- name: Set the default read/write permissions on the dnet data dirs
|
2017-11-09 19:40:41 +01:00
|
|
|
acl: name={{ item }} entity={{ dnet_group }} etype=group permissions=rwX state=present default=yes recursive=yes
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_data_directories }}'
|
2015-08-27 17:14:27 +02:00
|
|
|
tags: [ 'tomcat', 'dnet', 'users' ]
|
|
|
|
|
|
|
|
- name: Set the read permissions on the dnet log dirs
|
2017-11-09 19:40:41 +01:00
|
|
|
acl: name={{ item }} entity={{ dnet_group }} etype=group permissions=rX state=present recursive=yes
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_log_directories }}'
|
2015-08-27 17:14:27 +02:00
|
|
|
tags: [ 'tomcat', 'dnet', 'users' ]
|
|
|
|
|
|
|
|
- name: Set the default read permissions on the dnet log dirs
|
2017-11-09 19:40:41 +01:00
|
|
|
acl: name={{ item }} entity={{ dnet_group }} etype=group permissions=rX state=present default=yes recursive=yes
|
2016-06-30 11:30:35 +02:00
|
|
|
with_items: '{{ dnet_log_directories }}'
|
2015-08-27 17:14:27 +02:00
|
|
|
tags: [ 'tomcat', 'dnet', 'users' ]
|
2016-12-16 19:14:14 +01:00
|
|
|
|