tomcat: root directory owner/group are configurable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7413a242a8
commit
d0622c6b20
|
@ -12,6 +12,8 @@ The **patch** part changes incrementally at each release.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
* tomcat: root directory owner/group are configurable
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
---
|
---
|
||||||
tomcat_instance_root: '/srv/tomcat'
|
tomcat_instance_root: '/srv/tomcat'
|
||||||
|
|
||||||
|
tomcat_root_dir_owner: root
|
||||||
|
tomcat_root_dir_group: root
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
file:
|
file:
|
||||||
path: "{{ tomcat_instance_root }}"
|
path: "{{ tomcat_instance_root }}"
|
||||||
state: directory
|
state: directory
|
||||||
owner: 'root'
|
owner: "{{ tomcat_root_dir_owner | default('root') }}"
|
||||||
group: 'root'
|
group: "{{ tomcat_root_dir_group | default('root') }}"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: Copy systemd unit
|
- name: Copy systemd unit
|
||||||
|
|
Loading…
Reference in a new issue