Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Not able to use ntlm #2642

Open
oliverd2024 opened this issue Dec 18, 2024 · 0 comments
Open

Question: Not able to use ntlm #2642

oliverd2024 opened this issue Dec 18, 2024 · 0 comments
Labels

Comments

@oliverd2024
Copy link

oliverd2024 commented Dec 18, 2024

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:

  • hosts: windows
    tasks:
    • name: Reboot the machine with all defaults
      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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant