valerius257.windows-pending-reboot
Windows Updates
This role can be used to check for pending reboots for Windows hosts.
Requirements
- Ansible 2.4
- Prepared Windows System
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
Install
ansible-galaxy install valerius257.windows-pending-reboot
License
Unknown
Downloads
10.2k
Owner