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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

desktop-updates.yaml 656B

2 年之前
1234567891011121314151617181920212223
  1. ---
  2. - hosts:
  3. - desktops
  4. - laptops
  5. remote_user: root
  6. pre_tasks:
  7. - name: ensure acpi tool is installed
  8. apt:
  9. pkg: acpi
  10. - name: ensure host is on AC power
  11. command: acpi -a
  12. register: _acpi_ac_adapter
  13. failed_when: '"off-line" in _acpi_ac_adapter.stdout'
  14. changed_when: false
  15. roles:
  16. - name: display_manager
  17. display_manager_state: maintenance
  18. display_manager_maintenance_text: Aktualisierungen werden durchgeführt – bitte nicht abschalten!
  19. display_manager_maintenance_icon: system-software-update
  20. - name: updates
  21. microcode_update: true
  22. reboot_after_updates: true