[ansible-project] Collecting unreachable hosts list

2021-04-05 Thread Somasundaram R
In my playbook, I have included a role in my first play to generate a report from template. And in my second play, updating same report. When I keep both play in different file and run, both updating the file. But if both play are in same playbook, first play working fine. second play does not

[ansible-project] Collecting unreachable hosts

2021-04-05 Thread Somasundaram R
In my playbook, I have included a role in my first play to generate a report from template. And in my second play, updating same report. When I keep both play in different file and run, both updating the file. But if both play are in same playbook, first play working fine. second play does not

[ansible-project] "Unable to find pip..."

2021-04-05 Thread Nick-H
I am trying to use pip module to create a virtual_env for python3 on Centos7 . I have tried a few variety of parameters but each returned various errors . If I set : virtualenv_command: /usr/bin/python3 -m venv Then it fails with "--ensurepip" error So I tried to skip the use of venv module a

Re: [ansible-project] unable to create VM on esxi 7.0

2021-04-05 Thread Dick Visser
Well this still is a resolution error, so that needs to be fixed. Either way it's not an ansible problem. On Mon, 5 Apr 2021 at 21:44, bec12...@gmail.com wrote: > > Sure i will thanks. It is true, i am using the vmware_guest module where i > ommited the validate certificate. > But now the prob

Re: [ansible-project] unable to create VM on esxi 7.0

2021-04-05 Thread bec12...@gmail.com
Sure i will thanks. It is true, i am using the vmware_guest module where i ommited the validate certificate.But now the problem has been with the dns.  when I test the  management network, the hostname resolves to the dns, yet i ahve errors.  fatal: [localhost -> localhost]: FAILED! => {"change

Re: [ansible-project] unable to create VM on esxi 7.0

2021-04-05 Thread Jean-Yves LENHOF
Hi, Please explain which module you are using when asking questions ! So have a guess that you are using this one https://docs.ansible.com/ansible/2.8/modules/vmware_guest_module.html#vmware-guest-module So two options : - ask to update the certificate with a trusted and not expired one - u

Re: [ansible-project] unable to create VM on esxi 7.0

2021-04-05 Thread bec12...@gmail.com
Okay...thank you. I think now i am having a different error of certifiate.  fatal: [localhost -> localhost]: FAILED! => {"changed": false, "msg": "Unable to connect to vCenter or ESXi API at vsecurity.com on TCP/443: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has ex

Re: [ansible-project] unable to create VM on esxi 7.0

2021-04-05 Thread Dick Visser
You're connecting to a host called 'vsecurity', but that doesn't resolve to something. At least not on the host you're trying to run the playbook from. On Mon, 5 Apr 2021 at 14:00, rebecca acheampong wrote: > I am creating a virtual machine using ansible. I received this error and > do not know

Re: [ansible-project] loading roles, etc. from internal url?

2021-04-05 Thread Brian Coca
I have something with a playbook that runs a git actions to download the requisites and then reruns itself with tags to execute the parts that require the prereqs (those are all tagged ( ready, never) to prevent execution on normal/first call. -- -- Brian Coca -- You received this mes

[ansible-project] unable to create VM on esxi 7.0

2021-04-05 Thread rebecca acheampong
I am creating a virtual machine using ansible. I received this error and do not know how to solve it. I am new student to both VMware and asnible. This is the error i received: fatal: [localhost -> localhost]: FAILED! => {"changed": false, "msg": "Unknown error while connecting to vCenter or ES