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

18 lines
513 B
YAML
Raw Normal View History

2021-09-02 01:44:09 +02:00
---
2023-04-25 23:52:04 +02:00
- name: Run Optional versionscheck
2021-09-02 01:44:09 +02:00
ansible.builtin.include_tasks: versioncheck.yml
2023-04-25 23:52:04 +02:00
when: submodules_versioncheck | bool
2021-09-02 01:50:07 +02:00
2023-04-25 23:52:04 +02:00
- name: Gather os specific variables
2021-09-02 01:50:07 +02:00
ansible.builtin.include_vars: "{{ item }}"
with_first_found:
- "vars/{{ ansible_os_family }}.yml"
- "vars/os_fallback.yml"
2021-09-02 02:02:53 +02:00
2023-04-25 23:52:04 +02:00
- name: Install MDNS requirements
2021-09-02 02:02:53 +02:00
ansible.builtin.include_tasks: install.yml
2021-09-02 02:42:00 +02:00
2023-04-25 23:52:04 +02:00
- name: Configure /etc/nsswitch.conf
2021-09-02 02:42:00 +02:00
ansible.builtin.include_tasks: nsswitch.yml
when: avahi_client__configure_nsswitch | bool