On Thu, 5 Jan 2017, Mick st john wrote:

ANSIBLE VERSION USED: 2.2.0


I am trying to deploy a virtual machine from a template that is already
present on an ESX which is managed by a VCenter Server.

I'm getting the following error after the execution of my playbook:

"Cannot connect to x.x.x.x: [InvalidLoginFault]: Cannot complete login due
to an incorrect user name or password."

-snip-

           "guest": "newvm01",
           "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
           "power_on_after_clone": true,

-snip-

The password value is not getting reflected for the json key password.

Ansible masks the password from the output to prevent those credentials are being inadvertently shared with people who should not have access to it. (like this forum)

The error to me means that the username/password combination is incorrect. Maybe you are targeting the wrong infrastructure, or the password is mangled, maybe turn it explicitely in a string in yaml ?

PS We are heavily refactoring the vmware_guest module, both in speed and functionality. Look at the recently opened/closed pull-requests in GitHub to see what is happening. We are always looking for people to provide feedback during refactoring/development.

Kind regards,
--
Dag

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/alpine.LRH.2.20.1701082024370.19483%40pikachu.3ti.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to