valerius257.windows-pending-reboot

Windows Updates

This role can be used to check for pending reboots for Windows hosts.

Requirements

Parameters

  • windows_reboot_allowed: Determines if reboot of windows machines is allowed. When it is set to false and reboot is pending, it will stop execution of the playbook. Useful to check before installing updates or installing software.
  • windows_pending_reboot_fail: Allows to fail playbook if reboot is required but not allowed.

Example

- hosts: win_servers
  vars:
    windows_reboot_allowed: false
    windows_pending_reboot_fail: true

  roles:
    - role: valerius257.windows-pending-reboot
About

Role for checking for pending Windows Reboots

Install
ansible-galaxy install valerius257.windows-pending-reboot
GitHub repository
License
Unknown
Downloads
10.2k