Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- ---
-
- - hosts:
- - desktops
- - laptops
- remote_user: root
- pre_tasks:
- - 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
- roles:
- - name: display_manager
- display_manager_state: maintenance
|