From 1d0deb67f7b76138ba596d213e819e951905a1e7 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Wed, 18 May 2022 15:06:14 +0200 Subject: [PATCH] add tag tomcat_conf on some tomcat-pkgs tasks --- tasks/tomcat-pkgs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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