--- - name: generate relayd configuration ansible.builtin.template: src: relayd.conf.j2 dest: "{{ relayd_configuration_file }}" owner: 0 group: 0 mode: "0640" notify: - lint relayd configuration - name: enable and restart relayd ansible.builtin.service: name: relayd state: restarted enabled: true