--- - 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