Fix the systemd unit installation check.
This commit is contained in:
parent
d3c071f66b
commit
001e23c897
|
@ -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 %}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue