ansible/roles/unwind/tasks/main.yml

16 lines
331 B
YAML

---
- name: Copy config
ansible.builtin.template:
dest: /etc/unwind.conf
src: unwind.conf.j2
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
validate: "unwind -n -f %s"
notify: Restart unwind
- name: Enable service
ansible.builtin.service:
name: unwind
state: started
enabled: true