Ansible - Winrm basic authentication setup

Check out how you can setup #winrm #basic type of authentication in ansible to work against windows hosts. This is the simplest form of setup yet you need to do some configuration on windows side in order to use it.



15 thoughts on “Ansible – Winrm basic authentication setup”
  1. Greate viedo , but i need to know how to automate joining computer accounts to specified groups automatically !?

  2. after installing winrm..I m getting ansible_host= | FAILED! => {

    "msg": "winrm or requests is not installed: No module named winrm" while testing the window conn from ansible host

  3. Hi!, it is not recommended to use: Set-Item -Force WSMan:localhostServiceAllowUnencrypted $true, in production environment. is there any way to make te connection using local user?

  4. mahi | UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh: ssh: connect to host mahi port 22: Connection refused",
    "unreachable": true

  5. Can we use basic authentication instead of kerberos even for domain joined machine…is it possible?
    since we dont have access to domain controller

  6. UNREACHABLE! => {
    "changed": false,
    "msg": "ssl: the specified credentials were rejected by the server",
    "unreachable": true

  7. Szia, nagyon tetszett a video, pont ezt az informaciot kerestem 🙂 Üdvözlettel Gergely (DE-IK 2010)

  8. I have configured ansible lab, it works with CentOS as a target machine. I want to configure the Active Directory-based target. I am finding it difficult to configure, so far it has not work.
    Windows 2012 R2 has been used to configure AD, DNS, and another member server.

  9. May i know on which application you are working? Qurious to know that you are connected to server and running ansible command from same app.

Leave a Reply

Your email address will not be published.

Captcha loading...