deekayen.win_reboot

win_reboot

CI Platforms Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.

This Ansible role lets you check for an optionally perform reboots on Windows nodes. During the reboot cycle it will use a local task on the control node to check when the node is back online.

Requirements

N/A

Default Variables

Setting simulate to yes will force the role to think the node has a pending reboot.

winreboot_simulate: no

Reboot_behavior controls when to reboot the node. valid options are:

  • never
  • if_required
  • always

winreboot_reboot_behavior: if_required

Maximum seconds to wait for a single successful TCP connection to the WinRM endpoint before trying again.

winreboot_connect_timeout: 5

Maximum seconds to wait for machine to re-appear on the network and respond to a test command.

winreboot_reboot_timeout: 3600

Dependencies

N/A

Example Playbook

- hosts: platform_windows

  vars:
    winreboot_simulate: yes

  roles:
    - role: deekayen.win_reboot

- hosts: all

  roles:
    - role: deekayen.win_reboot

License

BSD

About

A role to manage reboots for Windows. Check for pending reboots, then (optionally) perform a reboot on the nodes that need it.

Install
ansible-galaxy install deekayen.win_reboot
GitHub repository
License
Unknown
Downloads
15.7k
Owner
My initials spelled as a word - pronounced /dEE-kAY-En/