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