Re: [ansible-project] Re: vmware_guest does not add cd-rom for a VM

2022-05-13 Thread Anil Kumar
Thanks Much, correct, pin pointed the issue. (y) On Thursday, May 12, 2022 at 4:28:28 PM UTC-4 dnmv...@gmail.com wrote: > > > On 2022-05-12 (Thu) 19:13, Anil Kumar wrote: > > Is this bug? > > Yes, but probably one in your own configuration: > > > On Thursday, Ma

[ansible-project] Re: vmware_guest does not add cd-rom for a VM

2022-05-12 Thread Anil Kumar
Is this bug? On Thursday, May 12, 2022 at 5:19:55 PM UTC+2 Anil Kumar wrote: > here is my code > > - hosts: localhost > connection: localhost > vars: >vcenter_hostname: myVcenter >vcenter_username: ** >vcenter_password: '**' >

[ansible-project] vmware_guest does not add cd-rom for a VM

2022-05-12 Thread Anil Kumar
here is my code - hosts: localhost connection: localhost vars: vcenter_hostname: myVcenter vcenter_username: ** vcenter_password: '**' tasks: - name: Create a virtual machine from a template vmware_guest: hostname: "{{ vcenter_hostname }}"

[ansible-project] Re: Nmcli module static routes

2019-03-27 Thread anil kumar
I mean using nmcli module, I was able do with nmcli command. On Monday, March 25, 2019 at 6:43:23 PM UTC+1, anil kumar wrote: > > Hi, > > Dont see any documentation regarding adding static routes using nmcli > modules. Is it feasible to add static routes, if yes please let me kno

[ansible-project] Nmcli module static routes

2019-03-25 Thread anil kumar
Hi, Dont see any documentation regarding adding static routes using nmcli modules. Is it feasible to add static routes, if yes please let me know and sample example would help. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] ansible security question /bin/sh

2018-08-18 Thread anil kumar
Hello Folks, ansible(before 2.4) uses /bin/sh for executing tasks, we want to restrict ansible account in sudo for certain tasks, in the process of this we need to give specifiy /bin/sh in sudoers command list for ansible account. Now the question is by giving /bin/sh to the ansible user

Re: [ansible-project] Re: win_group_membership

2018-04-04 Thread anil kumar
onPolicy Unrestricted -File C:\Users > \Administrator\Downloads\ConfigureRemotingForAnsible.ps1 -ForceNewSSLCert > - C:\finishsetup.bat >timezone: 85 > # set timezone correctly or domain trust relationship will be lost > delegate_to: localhost

[ansible-project] win_group_membership

2018-03-27 Thread anil kumar
Hello, few questions on this module - Context - we have Cloudform, that spins up windows machine and joins it to domain, now I need to add user to the local "Remote Desktop user" group on target windows machine. I hoping to achieve that using win_group_membership module, now my questions are

[ansible-project] Re: Cannot enable WinRM remoting on Windows 10 Home Edition

2018-03-27 Thread anil kumar
Check here - https://github.com/ansible/ansible/issues/16478 On Tuesday, March 27, 2018 at 11:12:50 AM UTC-4, J Hawkesworth wrote: > > double check the password is correct - that error implies the > username/password combination doesn't exist or is incorrect on the windows > hosts. > > On

[ansible-project] ansible script module fails in ansible 2.3.1

2018-02-15 Thread anil kumar
Hello, I am running powershell script using script module on ansible core 2.3.1.0. But it works on older version ansible core 2.2. Is this a bug in ansible 2.3 and higher version, any fixes or any workarounds would be appreciated. = - hosts: win

[ansible-project] Re: windows ansible powershell in 2.3.1

2017-10-02 Thread anil kumar
It is Windows Server 2008 R2 standard. Is this bug fixed in it 2.4? I am using the script for creating the object in Activer Directory OU only for both windows and linux machine, not sure if this module work for linux machine as the joining the domain process is differnt from windows. in any

[ansible-project] windows ansible powershell in 2.3.1

2017-09-29 Thread anil kumar
Hello Folks I am seeing issues when try to run powershell script from ansible after upgrade from 2.2.1 to 2.3.1, any ideas, suggestions are appreciated? [root@marx4150 playbooks]# ansible-playbook -i inventory AdIntRhel.yml --tags crtObj --extra-vars "vm_name=testing123" PLAY [win]

[ansible-project] vmware_guest customization

2017-07-13 Thread anil kumar
I am trying to provision a VM using vmware_guest from template(which has a nic set to use DHCP vlan). Now When I provision VM with customization, it throws below error, however it provisions VM but fails to power on. And also I noticed that hostname in customization does not pick up. my

[ansible-project] Re: ansible and windows AD module

2017-07-13 Thread anil kumar
n page: > http://docs.ansible.com/ansible/intro_windows.html#inventory > > Hope this helps, > > Jon > On Wednesday, July 5, 2017 at 4:53:13 PM UTC+1, anil kumar wrote: >> >> I am trying to invoke AD commands( I put this into powershellscript) from >> ansibl

[ansible-project] ansible and windows AD module

2017-07-05 Thread anil kumar
I am trying to invoke AD commands( I put this into powershellscript) from ansible server. I am using Kerberos in the ansible server for auth. Can you guys help in this issue? Below is my powershell script runs on windows server(windows server 2008 r2 standard), which is in domain. I am able to

[ansible-project] Ansible Hosts

2016-03-30 Thread anil kumar
When I try playbook I see below error ok: [resoxapp-ch2f-01c.email.comcast.net] ERROR! the field 'hosts' is required but was not set my inventory file [hosts] resoxapp-ch2f-01c.email.comcast.net resoxapp-ch2f-02c.email.comcast.net resoxui-ch2f-02c.email.comcast.net