Print the tomcat_use_systemd_unit value.

This commit is contained in:
Andrea Dell'Amico 2024-08-02 12:51:47 +02:00
parent 001e23c897
commit 31fa1e2f45
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 5 additions and 0 deletions

View File

@ -102,6 +102,11 @@
notify: tomcat restart notify: tomcat restart
tags: ['tomcat', 'tomcat_serverxml', 'tomcat_conf'] 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 - name: tomcat-pkgs | Install the startup script used by the systemd unit
ansible.builtin.template: ansible.builtin.template:
src: tomcat-start.sh.j2 src: tomcat-start.sh.j2