Browse Source

tomcat: root directory owner/group are configurable

pull/114/head
Jérémy Lecour 8 months ago
committed by Jérémy Lecour
parent
commit
d0622c6b20
  1. 2
      CHANGELOG.md
  2. 3
      tomcat/defaults/main.yml
  3. 4
      tomcat/tasks/packages.yml

2
CHANGELOG.md

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

3
tomcat/defaults/main.yml

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

4
tomcat/tasks/packages.yml

@ -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

Loading…
Cancel
Save