You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
12345678910 |
- ---
-
- - name: ensure acpi tool is installed
- apt:
- pkg: acpi
- - name: ensure host is on AC power
- command: acpi -a
- register: _acpi_ac_adapter
- failed_when: '"off-line" in _acpi_ac_adapter.stdout'
- changed_when: false
|