From 31fa1e2f4522df6f740bca1fce8b44063d56ed56 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 2 Aug 2024 12:51:47 +0200 Subject: [PATCH] Print the tomcat_use_systemd_unit value. --- tasks/tomcat-pkgs.yml | 5 +++++ 1 file changed, 5 insertions(+) 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