adding delay for reboot

This commit is contained in:
L3D 2021-12-20 22:55:24 +01:00
parent 8662839ae1
commit 0d465c0bc7
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 12 additions and 1 deletions

@ -1 +1 @@
Subproject commit 3026ccda415fd94d3d2450c9409829537d2e2a14 Subproject commit 27cf9f9b77e47ac7f14ac23961eafb09d4712df7

View file

@ -0,0 +1,10 @@
---
- name: Warn logged in users of impending upgrade
community.windows.win_msg:
display_seconds: 60
msg: Automated upgrade about to start. Please save your work and log off immeditially
- name: Ensure WinRM starts when the system has settled and is ready to work reliably
ansible.windows.win_service:
name: WinRM
start_mode: delayed

View file

@ -2,6 +2,7 @@
- name: deploy windows users and basic config - name: deploy windows users and basic config
hosts: obs hosts: obs
roles: roles:
- {role: win_warn_ansible_start, tags: [always, warn]}
- {role: do1jlr.win_base_setup, tags: [user, setup]} - {role: do1jlr.win_base_setup, tags: [user, setup]}
- {role: do1jlr.win_obs_setup, tags: [user, obs]} - {role: do1jlr.win_obs_setup, tags: [user, obs]}
- {role: do1jlr.win_remove_win_apps, tags: cleanup} - {role: do1jlr.win_remove_win_apps, tags: cleanup}