Re: [ansible-project] Install Packages after VM is created in VSphere

2022-07-15 Thread harsh chawda
Hello Daeme, Thanks a lot for your help... Regards Harsh Chawda On Sat, Jul 16, 2022, 1:22 AM Seth Daemen wrote: > Hello harsch, > > that step is automatic zie line 14 in my example. > > Create a vm and do action on it (github.com) > <https://gist.

Re: [ansible-project] Reg: VMware Tools install using Ansible

2021-05-20 Thread harsh chawda
Hello, Thanks for your reply.. Actually the vms are already created and are not having vmware tools pre installed. So I have to install tools on all those servers like 100 of them.. *Harsh chawda* On Wed, 19 May, 2021, 3:21 pm Wei-Yen Tan, wrote: > There are ways to instruct through the

[ansible-project] Executing remote PowerShell script not generating required output

2020-09-09 Thread harsh chawda
Hello All, I am trying to execute a PowerShell script present on remote system. It is executing successfully from ansible playbook side. After execution it should generate a *password.csv* file on the remote system, but that file is not getting generated. *My plabook:* - name: test hosts:

Re: [ansible-project] playbook to compare and update hostvars in host file

2020-09-04 Thread harsh chawda
* On Thursday, September 3, 2020 at 5:20:26 PM UTC+5:30, Vladimir Botka wrote: > > On Wed, 2 Sep 2020 22:43:42 -0700 (PDT) > harsh chawda > wrote: > > > *hosts* > > [windows] > > Server01.test.com ansible_user="admin" ansible_password="pass

Re: [ansible-project] playbook to compare and update hostvars in host file

2020-09-03 Thread harsh chawda
Hello Vladimir, Thanks for your reply. I will try to implement the same and hope it works out. Thanks a lot again. *Regards* *Harsh* On Thursday, September 3, 2020 at 5:20:26 PM UTC+5:30, Vladimir Botka wrote: > > On Wed, 2 Sep 2020 22:43:42 -0700 (PDT) > harsh chawda > wrote:

Re: [ansible-project] playbook to compare and update hostvars in host file

2020-09-03 Thread harsh chawda
ou now appear to have two sources of truth. I would try to have one. > Removing the data from the inventory seems the easiest. > > > On Thu, 3 Sep 2020 at 07:43, harsh chawda > wrote: > >> Hello All, >> >> I am trying to update /etc/hosts file if there is a

[ansible-project] playbook to compare and update hostvars in host file

2020-09-02 Thread harsh chawda
Hello All, I am trying to update /etc/hosts file if there is any changes in the host extra variables by comparing it from a csv file [windows] Server01.test.com ansible_user="admin" ansible_password="password" Server02.test.com ansible_user="admin" ansible_password="Welcome" So suppose the

[ansible-project] Re: Integrating Microsoft LAPS and ansible

2020-07-21 Thread harsh chawda
Hello Jordan, Thanks for your reply . I am trying to do the same what you explained. Will post my queries if got any issues. Thanks again. On Thursday, July 16, 2020 at 12:12:20 AM UTC+5:30, Jordan Borean wrote: > > I don’t understand what you mean sorry. OpenLDAP is required on the >

[ansible-project] Re: Integrating Microsoft LAPS and ansible

2020-07-15 Thread harsh chawda
Hello, I have one doubt like not all systems in my environment are configured with LAPS as of now. So some of the systems are having LAPS others are having LDAP . So will both the things work out. ie. basically if i install OpenLDAP , is it standalone package/module or will it replace the

[ansible-project] Re: Integrating Microsoft LAPS and ansible

2020-07-15 Thread harsh chawda
Hello , Thanks for you reply. I will test it out the same. Thanks again. On Tuesday, July 14, 2020 at 1:12:56 AM UTC+5:30, jbor...@gmail.com wrote: > > Theres the laps_password > https://docs.ansible.com/ansible/latest/plugins/lookup/laps_password.html > lookup that you can use to retrieve a

[ansible-project] Integrating Microsoft LAPS and ansible

2020-07-09 Thread harsh chawda
Hello All, I am using ansible for patching windows machines in my domain. The process is working fine with patches being installed till date over Winrm and kerberos as authentication. But now they have decided to use LAPS in the environment .So, the password keep on changing and i am not able