diff --git a/tasks/tomcat-pkgs.yml b/tasks/tomcat-pkgs.yml index 654a52b..69cacbd 100644 --- a/tasks/tomcat-pkgs.yml +++ b/tasks/tomcat-pkgs.yml @@ -102,6 +102,11 @@ notify: tomcat restart tags: ['tomcat', 'tomcat_serverxml', 'tomcat_conf'] +- name: tomcat-pkgs | Print the value of the variable that tell us if we want systemd + ansible.builtind.debug: + msg: "Test var: {{ tomcat_use_systemd_unit_test }}. tomcat_use_systemd: {{ tomcat_use_systemd_unit }}" + tags: ['tomcat', 'tomcat_serverxml', 'tomcat_conf', 'tomcat_init'] + - name: tomcat-pkgs | Install the startup script used by the systemd unit ansible.builtin.template: src: tomcat-start.sh.j2