ansible-roles/library/roles/tomcat/tasks/tomcat-admin.yml

11 lines
351 B
YAML
Raw Normal View History

---
- name: Install the tomcat console management package
2019-04-02 17:21:55 +02:00
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