--- # tasks file for wakeonlan - ansible.builtin.debug: msg: "ENABLED = {{ wakeonlan_enabled }}; wakeonlan role; install and configure wakeonlan on target; REQUIRES BIOS CONFIGURATION ON TARGET itself" - when: - "wakeonlan_enabled is true" block: - name: Gather package facts package_facts: manager: auto - name: Install yggdrasil if not present when: "'ethtool' not in ansible_facts.packages" block: - include_tasks: "install_{{ ansible_os_family }}.yml" - include_tasks: "install_{{ ansible_service_mgr }}_service.yml" ignore_errors: true