improve sshd and winrm setup

This commit is contained in:
L3D 2022-12-29 16:45:33 +01:00
parent 8ffb350be7
commit 421d84fa4c
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
5 changed files with 7 additions and 1 deletions

3
.gitmodules vendored
View File

@ -34,3 +34,6 @@
[submodule "roles/do1jlr.win_sshd"] [submodule "roles/do1jlr.win_sshd"]
path = roles/do1jlr.win_sshd path = roles/do1jlr.win_sshd
url = https://backwesen.de/voc/win_ansible_role_sshd.git url = https://backwesen.de/voc/win_ansible_role_sshd.git
[submodule "roles/do1jlr.win_winerm"]
path = roles/do1jlr.win_winerm
url = https://backwesen.de/voc/win_ansible_role_winrm.git

@ -1 +1 @@
Subproject commit 61b785cae02215e0d7dc3878da5d792e198a595c Subproject commit edd671a7bdc3c5961cb551e9859162aab345d87c

@ -0,0 +1 @@
Subproject commit e50ada51920a97144dcce6453ce1cfa8c402d975

View File

@ -3,6 +3,7 @@
community.windows.win_msg: community.windows.win_msg:
display_seconds: 60 display_seconds: 60
msg: Automated upgrade about to start. Please save your work and log off immeditially msg: Automated upgrade about to start. Please save your work and log off immeditially
changed_when: false
- name: Ensure WinRM starts when the system has settled and is ready to work reliably - name: Ensure WinRM starts when the system has settled and is ready to work reliably
ansible.windows.win_service: ansible.windows.win_service:

View File

@ -9,6 +9,7 @@
hosts: obs hosts: obs
roles: roles:
- {role: win_warn_ansible_start, tags: [always, warn]} - {role: win_warn_ansible_start, tags: [always, warn]}
- {role: do1jlr.win_winerm, tags: winrm}
- {role: do1jlr.win_base_setup, tags: [user, setup]} - {role: do1jlr.win_base_setup, tags: [user, setup]}
- {role: do1jlr.win_zeroconf, tags: zeroconf} - {role: do1jlr.win_zeroconf, tags: zeroconf}
- {role: do1jlr.win_firewall_icmp, tags: firewall} - {role: do1jlr.win_firewall_icmp, tags: firewall}