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

21 lines
518 B
YAML
Raw Permalink Normal View History

2021-09-01 23:07:51 +02:00
---
2023-10-05 22:10:13 +02:00
- name: Run optional versionscheck
2023-10-28 18:12:24 +02:00
ansible.builtin.include_tasks:
file: 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
2023-10-28 18:12:24 +02:00
ansible.builtin.include_vars:
file: "{{ item }}"
2021-09-01 23:36:05 +02:00
with_first_found:
- "vars/{{ ansible_os_family }}.yml"
- "vars/os_fallback.yml"
2023-10-05 22:10:13 +02:00
- name: Install avahi requirements
2023-10-28 18:12:24 +02:00
ansible.builtin.include_tasks:
file: install.yml
2021-09-02 00:24:53 +02:00
2023-10-05 22:10:13 +02:00
- name: Optionally announce avahi services
2023-10-28 18:12:24 +02:00
ansible.builtin.include_tasks:
file: avahi_services.yml