add tag tomcat_conf on some tomcat-pkgs tasks

This commit is contained in:
Roberto Cirillo 2022-05-18 15:06:14 +02:00
parent 02aa0ad579
commit 1d0deb67f7
1 changed files with 3 additions and 3 deletions

View File

@ -50,18 +50,18 @@
template: src=tomcat-default.j2 dest=/etc/default/tomcat{{ tomcat_version }}
when: tomcat_install_default_conf | bool
notify: tomcat restart
tags: [ 'tomcat', 'tomcat_default' ]
tags: [ 'tomcat', 'tomcat_default', 'tomcat_conf' ]
- name: Configure tomcat server.xml
template: src=tomcat-server.xml.j2 dest={{ tomcat_conf_dir }}/server.xml
when: tomcat_install_server_xml | bool
notify: tomcat restart
tags: [ 'tomcat', 'tomcat_serverxml' ]
tags: [ 'tomcat', 'tomcat_serverxml', 'tomcat_conf' ]
- name: Configure tomcat web.xml
template: src=tomcat-web.xml.j2 dest={{ tomcat_conf_dir }}/web.xml
notify: tomcat restart
tags: [ 'tomcat', 'tomcat_serverxml' ]
tags: [ 'tomcat', 'tomcat_serverxml', 'tomcat_conf' ]
- name: Install a slightly modified catalina.properties
copy: src=catalina.properties dest={{ tomcat_conf_dir }}/catalina.properties owner=root group={{ tomcat_user }} mode=0644