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
|
- name: Reload the systemd daemon if we are running on a systemd-backed server
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
daemon-reload: true
|
daemon-reload: true
|
||||||
when:
|
when: reload_systemd
|
||||||
- ansible_service_mgr == 'systemd'
|
|
||||||
- tomcat_use_systemd_unit
|
|
||||||
tags: ['tomcat', 'tomcat_instances', 'tomcat_init']
|
tags: ['tomcat', 'tomcat_instances', 'tomcat_init']
|
||||||
|
|
||||||
- name: Install the helper script used by the systemd unit
|
- name: Install the helper script used by the systemd unit
|
||||||
|
|
Loading…
Reference in New Issue