Added windows agent

This commit is contained in:
2025-11-20 13:01:18 +01:00
parent 9c771dee28
commit efc6baf596
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Ansible WindowsResumen:
1) Poner el Windows de Red Publica a Privada
2) winrm quickconfig -force
3) winrm set winrm/config/service '@{AllowUnencrypted="true"}'
4) winrm set winrm/config/auth '@{Basic="true"}'
5) Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value $true
6) Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true
7) New-NetFirewallRule -Name "WinRM HTTP" -DisplayName "WinRM HTTP" -Enabled True -Direction Inbound -Protocol TCP -LocalPort 5985 -Action Allow

9
misc/windows-host Normal file
View File

@@ -0,0 +1,9 @@
[windows]
win101 ansible_host=192.168.1.175
[windows:vars]
ansible_user=AnsibleNode
ansible_password=ansible
ansible_port=5985
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore