From 6230a82b0fa71048d74f522b9d450b4c4a31d870 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 14 Feb 2019 15:20:01 +0100 Subject: [PATCH] smartgears: list the directories and variables that must be readable by regular users. --- smartgears/smartgears/vars/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 smartgears/smartgears/vars/main.yml diff --git a/smartgears/smartgears/vars/main.yml b/smartgears/smartgears/vars/main.yml new file mode 100644 index 00000000..05867ab8 --- /dev/null +++ b/smartgears/smartgears/vars/main.yml @@ -0,0 +1,7 @@ +--- +additional_data_directories: + - { name: '{{ d4science_user_home }}', perms: 0755, create: False, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rX' } + - { name: '{{ d4science_user_home }}/tomcat/lib/logback.xml', perms: 0644, create: False, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rwX' } + - { name: '/etc/default/tomcat-instance-{{ smartgears_http_port }}', perms: 0644, create: False, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rX' } + - { name: '/etc/default/tomcat-instance-{{ smartgears_http_port }}.local', perms: 0644, create: False, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rX' } + - { name: '/var/log', create: False, perms: 0755, owner: 'root', group: '{{ common_users_group }}', aclperms: 'rX' }