--- # Enable and disable services. ## ACPID ## - name: Server | Software | Services | ACPID | Install ansible.builtin.package: name: "{{ acpi }}" state: present when: ansible_system == "Linux" ignore_errors: true - name: Server | Software | Services | ACPID | Enable ansible.builtin.service: name: "{{ acpi }}" pattern: "{{ acpi_pattern }}" state: started enabled: true when: ansible_system == "Linux" ignore_errors: true