--- - name: "Generate config: /etc/smartied.json" template: src: smartied.json.j2 dest: /etc/smartied.json mode: 0755 notify: "Restart smartied" - name: "Create directory: /etc/systemd/system/smartied.service.d" file: state: directory dest: /etc/systemd/system/smartied.service.d mode: 0755 - name: Create systemd.service override for smartied copy: src: smartied.service-override.conf dest: /etc/systemd/system/smartied.service.d/override.conf mode: 0755 notify: "Restart smartied"