ansible-role-tomcat/tasks/tomcat-admin.yml

11 lines
351 B
YAML
Raw Normal View History

2020-06-01 18:55:11 +02:00
---
- name: Install the tomcat console management package
apt: pkg=tomcat{{ tomcat_version }}-admin state={{ tomcat_pkg_state }}
tags: tomcat
- name: Install the tomcat users file
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