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

17 lines
349 B
YAML
Raw Normal View History

2021-09-01 23:36:05 +02:00
---
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
2023-10-05 22:10:13 +02:00
- name: Install avahi packages
2021-09-01 23:36:05 +02:00
become: true
ansible.builtin.package:
2021-09-02 11:02:00 +02:00
name: "{{ avahi_daemon__packages }}"
2021-09-01 23:36:05 +02:00
state: present
2023-10-05 22:10:13 +02:00
notify:
- Run systemctl restart avahi-daemon.service