# use custom wrapper in case of non-systemd init - name: non-systemd init script ansible.builtin.copy: src: templates/RESTART-FLUENTBIT dest: /etc/fluent-bit/ mode: 0755 when: systemd.stdout == 'absent' notify: restart fluent-bit diff: true