17 lines
457 B
YAML
17 lines
457 B
YAML
---
|
|
- name: tomcat-admin | Install the tomcat console management package
|
|
ansible.builtin.apt:
|
|
pkg: 'tomcat{{ tomcat_version }}-admin'
|
|
state: '{{ tomcat_pkg_state }}'
|
|
tags: tomcat
|
|
|
|
- name: tomcat-admin | Install the tomcat users file
|
|
ansible.builtin.template:
|
|
src: tomcat-users.xml.j2
|
|
dest: '{{ tomcat_conf_dir }}/tomcat-users.xml'
|
|
owner: root
|
|
group: '{{ tomcat_user }}'
|
|
mode: '0640'
|
|
notify: Tomcat restart
|
|
tags: tomcat
|