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