mode=644
owner=root
src=check_mk.socket.j2
- when: "check_mk_socket_unit.stat.exists == False and ansible_distribution_major_version >= '8'"
+ when: "check_mk_socket_unit is defined and check_mk_socket_unit.stat.exists == False and ansible_distribution_major_version >= '8'"
notify:
- reload systemd daemon
mode=644
owner=root
src=check_mk@.service.j2
- when: "check_mk_socket_unit.stat.exists == False and ansible_distribution_major_version >= '8'"
+ when: "check_mk_socket_unit is defined and check_mk_socket_unit.stat.exists == False and ansible_distribution_major_version >= '8'"
notify:
- - "reload systemd daemon"
+ - reload systemd daemon
- meta: flush_handlers
tags: