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/install.yml

16 lines
349 B
YAML

---
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
- name: Install avahi packages
become: true
ansible.builtin.package:
name: "{{ avahi_daemon__packages }}"
state: present
notify:
- Run systemctl restart avahi-daemon.service