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

17 lines
478 B
YAML
Raw Normal View History

2021-09-01 23:07:51 +02:00
---
2023-10-05 22:10:13 +02:00
- name: Run optional versionscheck
2021-09-01 23:07:51 +02:00
ansible.builtin.include_tasks: versioncheck.yml
2023-10-05 22:10:13 +02:00
when: submodules_versioncheck | bool
2021-09-01 23:36:05 +02:00
2023-10-05 22:10:13 +02:00
- name: Gather os specific variables
2021-09-01 23:36:05 +02:00
ansible.builtin.include_vars: "{{ item }}"
with_first_found:
- "vars/{{ ansible_os_family }}.yml"
- "vars/os_fallback.yml"
2023-10-05 22:10:13 +02:00
- name: Install avahi requirements
2021-09-01 23:36:05 +02:00
ansible.builtin.include_tasks: install.yml
2021-09-02 00:24:53 +02:00
2023-10-05 22:10:13 +02:00
- name: Optionally announce avahi services
ansible.builtin.include_tasks: avahi_services.yml