Fix the check on the systemd reload.
This commit is contained in:
parent
b20b6409ae
commit
0955bf4d73
|
@ -273,9 +273,7 @@
|
|||
- name: Reload the systemd daemon if we are running on a systemd-backed server
|
||||
ansible.builtin.systemd:
|
||||
daemon-reload: true
|
||||
when:
|
||||
- ansible_service_mgr == 'systemd'
|
||||
- tomcat_use_systemd_unit
|
||||
when: reload_systemd
|
||||
tags: ['tomcat', 'tomcat_instances', 'tomcat_init']
|
||||
|
||||
- name: Install the helper script used by the systemd unit
|
||||
|
|
Loading…
Reference in New Issue