tomcat: root directory owner/group are configurable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémy Lecour 2020-08-27 17:12:34 +02:00 committed by Jérémy Lecour
parent 7413a242a8
commit d0622c6b20
3 changed files with 7 additions and 2 deletions

View file

@ -12,6 +12,8 @@ The **patch** part changes incrementally at each release.
### Added
* tomcat: root directory owner/group are configurable
### Changed
### Fixed

View file

@ -1,2 +1,5 @@
---
tomcat_instance_root: '/srv/tomcat'
tomcat_root_dir_owner: root
tomcat_root_dir_group: root

View file

@ -33,8 +33,8 @@
file:
path: "{{ tomcat_instance_root }}"
state: directory
owner: 'root'
group: 'root'
owner: "{{ tomcat_root_dir_owner | default('root') }}"
group: "{{ tomcat_root_dir_group | default('root') }}"
mode: "0755"
- name: Copy systemd unit