mirror of
https://github.com/roles-ansible/ansible_role_avahi_daemon.git
synced 2024-08-16 15:09:48 +02:00
12 lines
325 B
YAML
12 lines
325 B
YAML
|
---
|
||
|
- 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 }}"
|