Re: [ansible-project] role with in a role

2023-06-02 Thread Narmada Karthika
Thanks Dick for explaining it, my first problem solved - I converted everything back to playbooks and able to call 2 playbooks, on will be running on localhost and second playbooks runs on windows. second scenario where I need some advise, from one of my playbook I get all servers and I am sav

Re: [ansible-project] ansible_become_pass

2023-06-02 Thread Kosala Atapattu (කෝසල අතපත්තු)
In this context your esxi_root_password is not the become password isn’t it?  You directly connect via root, not trying to become root after connecting via another user. I think you should use ansible_password instead. Examples are here. Build Your Inventory — Ansible Documentationdocs.ansible.comS

Re: [ansible-project] Gather Facts failed due resolve hostname inventory_hostname

2023-06-02 Thread Brian Coca
sorry, got mislead by the error, its quite literally trying to resolve `inventory_hostname` not it's value, but the string itself. This was a bug in several connection plugins, but both core Ansible and the plugins were patched to bypass it, try upgrading core, the collection or both. --

Re: [ansible-project] JOB | Linux Sysadmin (London, UK)

2023-06-02 Thread Martin Etcheverry
Hi James , for this job, is needed to be in person, or could be remote? Best regards Martin El vie, 2 jun 2023 a las 11:20, James Tobin () escribió: > Hello, I'm working with an employer that is looking to hire a Linux > sysadmin with terraform, ansible and python experience for an > infrastruct

Re: [ansible-project] ansible_become_pass

2023-06-02 Thread Andrew Latham
Try ansible_become_password https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html On Fri, Jun 2, 2023 at 8:49 AM Tony Wong wrote: > I am trying to run a pb that requires me to enter vault credentials as > well as specifying -k > for the become pass > > Is th

[ansible-project] ansible_become_pass

2023-06-02 Thread Tony Wong
I am trying to run a pb that requires me to enter vault credentials as well as specifying -k for the become pass Is there a way to put the become pass (root) in my vault file? in my host file I have [esxi] hostname ansible_ssh_user=root ansible_become_pass='{{ esxi_root_pass }}' in my vault c

[ansible-project] JOB | Linux Sysadmin (London, UK)

2023-06-02 Thread James Tobin
Hello, I'm working with an employer that is looking to hire a Linux sysadmin with terraform, ansible and python experience for an infrastructure position in London. I had hoped some members of this group may like to discuss further. I can be reached using JamesBTobin (at) Gmail (dot) Com. Kind r

Re: [ansible-project] create VM from template with customiation spec

2023-06-02 Thread 'Rowe, Walter P. (Fed)' via Ansible Project
That pull request is still open. Walter -- Walter Rowe, Division Chief Infrastructure Services, OISM Mobile: 202.355.4123 On Jun 1, 2023, at 4:27 PM, Kosala Atapattu wrote: You need to create a customization_spec in the vCenter and then refer that using customization_spec.