diff --git a/tasks/tomcat-pkgs.yml b/tasks/tomcat-pkgs.yml index 8ab523f..9e9b11d 100644 --- a/tasks/tomcat-pkgs.yml +++ b/tasks/tomcat-pkgs.yml @@ -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