16 lines
400 B
YAML
16 lines
400 B
YAML
---
|
|
- name: Install the tomcat console management package
|
|
apt: pkg={{ item }} state={{ tomcat_pkg_state }}
|
|
with_items:
|
|
- tomcat'{{ tomcat_version }}'-admin
|
|
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
|
|
|