You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to access my Windows Machines with winrm.
redirecting (type: modules) ansible.builtin.setup to ansible.windows.setup Using module file /root/snap/semaphore/common/ansible_env/lib/python3.8/site-packages/ansible_collections/ansible/windows/plugins/modules/setup.ps1 Pipelining is enabled. ESTABLISH WINRM CONNECTION FOR USER: admin. on PORT 5986 TO vczittest01 fatal: [vczittest01]: UNREACHABLE! => changed=false msg: 'ntlm: requested auth method is ntlm, but requests_ntlm is not installed' unreachable: true
My Playbook:
hosts: windows
tasks:
name: Reboot the machine with all defaults
ansible.windows.win_reboot:
Question
I'm not able to access my Windows Machines with winrm.
redirecting (type: modules) ansible.builtin.setup to ansible.windows.setup Using module file /root/snap/semaphore/common/ansible_env/lib/python3.8/site-packages/ansible_collections/ansible/windows/plugins/modules/setup.ps1 Pipelining is enabled. ESTABLISH WINRM CONNECTION FOR USER: admin. on PORT 5986 TO vczittest01 fatal: [vczittest01]: UNREACHABLE! => changed=false msg: 'ntlm: requested auth method is ntlm, but requests_ntlm is not installed' unreachable: true
My Playbook:
tasks:
ansible.windows.win_reboot:
My Hostfile:
[windows] vczittest01 [windows:vars] ansible_shell_type = cmd shell_type = powershell remote_tmp = C:\tmp ansible_connection = winrm ansible_become_method=runas ansible_become_user=Administrator ansible_winrm_server_cert_validation=ignore ansible_winrm_transport=ntlm
Edit:
I get the same message if I try to connect with kerberos
Host is a Ubuntu 24.04
Related to
No response
The text was updated successfully, but these errors were encountered: