diff --git a/defaults/main.yml b/defaults/main.yml index bb17205..ff0f68e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -5,7 +5,8 @@ # tomcat_fixed_version: 9 tomcat_pkg_state: present tomcat_service_enabled: true -tomcat_use_systemd_unit: "{% if ansible_distribution_version is version_compare('18.04', '>=') %}true{{ tomcat_version }}{% else %}false{% endif %}" +tomcat_use_systemd_unit_test: "{% if ansible_distribution_version is version_compare('18.04', '>=') %}true{{ tomcat_version }}{% else %}false{% endif %}" +tomcat_use_systemd_unit: '{{ tomcat_use_systemd_unit_test | bool }}' tomcat_systemd_security_enhanced: false tomcat_systemd_security: "{% if tomcat_systemd_security_enhanced %}true{% else %}false{% endif %}"