您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

24 行
656B

  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