From ca5d039f31de215d309e3178a1d5983df4edcd14 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 2 Aug 2024 12:59:11 +0200 Subject: [PATCH] Attempt to fix another boolean. --- defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 219e09b..e25803f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -8,7 +8,8 @@ tomcat_service_enabled: true tomcat_use_systemd_unit_test: "{% if ansible_distribution_version is version_compare('18.04', '>=') %}true{% 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 %}" +tomcat_systemd_security_test: '{% if tomcat_systemd_security_enhanced %}true{% else %}false{% endif %}' +tomcat_systemd_security: '{{ tomcat_systemd_security_test | bool }}' tomcat_pkgs: - 'tomcat{{ tomcat_version }}'