1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_avahi_daemon.git synced 2024-08-16 15:09:48 +02:00
ansible_role_avahi_daemon/tasks/avahi_services.yml

12 lines
325 B
YAML
Raw Normal View History

2021-09-02 00:24:53 +02:00
---
- name: Copy configured avahi services
ansible.builtin.template:
src: 'templates/avahi.service.j2'
dest: "/etc/avahi/services/{{ item.service | lower }}.service"
owner: root
group: root
mode: 'u=rw,g=r,o=r'
notify:
- systemctl restart avahi-daemon.service
with_items: "{{ avahi_services }}"