Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ansible/roles/tomcat/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
mode: "{{ item.mode }}"
owner: "{{ tomcat_owner }}"
group: "{{ tomcat_group }}"
# If the files already exist, don't clobber them
force: false
# Preserve existing user-managed files, except setenv.sh: its JVM
# hostname must be refreshed when the inventory/configuration changes.
force: "{{ item.force | default(false) }}"
with_items:
- src: tomcat/conf
name: context.xml
Expand All @@ -42,6 +43,7 @@
name: setenv.sh
mode: u=rwx,g=rx,o=rx
dest: "{{ catalina_base }}/bin"
force: true
- src: tomcat/conf
name: web.xml
mode: u=rw,g=r,o=r
Expand Down
Loading