diff --git a/tasks/tomcat-pkgs.yml b/tasks/tomcat-pkgs.yml index b1223db..f6ce38e 100644 --- a/tasks/tomcat-pkgs.yml +++ b/tasks/tomcat-pkgs.yml @@ -5,7 +5,7 @@ when: - ansible_distribution_version is version_compare('16.04', '<') - tomcat_fixed_version is not defined - tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody'] + tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody', 'tomcat_init'] - name: tomcat-pkgs | Set the tomcat version for Ubuntu bionic ansible.builtin.set_fact: @@ -13,7 +13,7 @@ when: - ansible_distribution_version is version_compare('18.04', '==') - tomcat_fixed_version is not defined - tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody'] + tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody', 'tomcat_init'] - name: tomcat-pkgs | Set the tomcat version for Ubuntu bionic ansible.builtin.set_fact: @@ -21,13 +21,13 @@ when: - ansible_distribution_version is version_compare('24.04', '==') - tomcat_fixed_version is not defined - tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody'] + tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody', 'tomcat_init'] - name: tomcat-pkgs | Impose a tomcat version ansible.builtin.set_fact: tomcat_version: '{{ tomcat_fixed_version }}' when: tomcat_fixed_version is defined - tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody'] + tags: ['tomcat', 'tomcat_ver', 'tomcat_conf', 'tomcat_javamelody', 'tomcat_init'] - name: tomcat-pkgs | Print the Tomcat version ansible.builtin.debug: