mirror of
https://github.com/roles-ansible/ansible_role_avahi_daemon.git
synced 2024-08-16 15:09:48 +02:00
20 lines
545 B
YAML
20 lines
545 B
YAML
---
|
|
- name: run optional versionscheck
|
|
ansible.builtin.include_tasks: versioncheck.yml
|
|
when: submodules_versioncheck|bool
|
|
|
|
- name: gather os specific variables
|
|
ansible.builtin.include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- "vars/{{ ansible_os_family }}.yml"
|
|
- "vars/os_fallback.yml"
|
|
|
|
- name: install avahi requirements
|
|
ansible.builtin.include_tasks: install.yml
|
|
|
|
- debug:
|
|
msg: "{{ item }}"
|
|
with_items: "{{ avahi_services }}"
|
|
|
|
- name: optionally announce avahi services
|
|
ansible.builtin.include_tasks: avahi-services.yml
|