Skip to content

valerius257/ansible-windows-pending-reboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published