Skip to content

Commit

Permalink
Added Windows reboot handler to updates role to avoid running incor…
Browse files Browse the repository at this point in the history
…rect OS module
  • Loading branch information
AllRWeak authored and bl0way committed Feb 21, 2024
1 parent d7ae65f commit 84fe55b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nova/core/roles/updates/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
- name: Rebooting...
ansible.builtin.reboot:
when: ansible_system == "Linux"

- name: Rebooting...
ansible.windows.win_reboot:
when: ansible_system == "Win32NT"

0 comments on commit 84fe55b

Please sign in to comment.