ansible winrm : the specified credentials were rejected by the server

    30
    4



    Hello Guys, Please use below commands to solve the issue.
    First check the winrm config , if basic auth is false in service section please set it true using 2nd command.

    $ winrm get winrm/config
    $ Set-Item -Force WSMan:localhostServiceauthBasic $true
    $ winrm configsddl default

    Useful search on google:
    ansible the specified credentials were rejected by the server winrm | ansible basic authentication | ansible plaintext the specified credentials were rejected by the server | ansible winrm connection error the specified credentials were rejected by the server | ansible the specified credentials were rejected by the server | ansible winrm connection error the specified credentials were rejected by the server

    Thanks.

    source

    Previous articleBuild your Arch Linux setup with Ansible like a Pro
    Next articleConvert your shell commands as Ansible playbook | Ansible playbook to install tomcat server

    4 COMMENTS