1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_avahi_client.git synced 2024-08-16 16:09:49 +02:00
ansible_role_avahi_client/tasks/install.yml

15 lines
290 B
YAML
Raw Normal View History

2021-09-02 02:02:53 +02:00
---
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when:
- ansible_pkg_mgr == "apt"
2021-09-02 05:26:00 +02:00
- name: Install Avahi packages
2021-09-02 02:02:53 +02:00
become: true
ansible.builtin.package:
2021-09-02 05:26:00 +02:00
name: "{{ avahi_client__packages }}"
2021-09-02 02:02:53 +02:00
state: present