Skip to content

Commit

Permalink
Keep as close to other roles as possible
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Fortin <[email protected]>
  • Loading branch information
mfortin committed Aug 27, 2024
1 parent 8c6e3e9 commit 8b3410a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
# handlers file for Windows-2022-STIG

- name: reboot_windows
ansible.windows.win_reboot:
reboot_timeout: 3600
ansible.builtin.set_fact:
reboot_host: true
tags:
- always
2 changes: 1 addition & 1 deletion tasks/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
vars:
warn_control_id: Reboot_Required
tags:
- always
- always
4 changes: 4 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ warn_count: 0

# This sets the variable that is created for the banner.
lockdown_banner: "{{lookup('file', './templates/banner.txt')}}"

# Default setting, this should not be changed
# and is overridden if a task that changed sets the value if required.
reboot_host: false

0 comments on commit 8b3410a

Please sign in to comment.