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] Grouping subelements

2021-10-25 Thread Anil Kommareddy
ot;, "port": "2001000e1ec23434", "type": "fc" }, { "nickname": "gladsto2p4", "port": "2001000e1ec25656", "type": "fc" } ] } -- I want the result to have 2001000e1e4

[ansible-project] Variables containing -

2021-10-16 Thread Anil Kommareddy
characters like '-': unsupported operand type". Is there any way I can escape - symbol in variable name. I am trying to access the variable in the following format {{ result.json.cli-parameters }}. Thanks Anil -- You received this message because you are subscribed to the Google Grou

Re: [ansible-project] Re: Unable to access variables from host_vars dir however can access the same variables when specified in roles/defaults/mail.yml

2020-03-05 Thread anil gouranna
t;> I have created multiple inventory files specific to dev , qa etc env. >>>> under inventory dir. >>>> >>>> inventory/dev.domain.net.yml >>>> >>>> Any suggestions, would help as I am stucked here.. >>>> >>>>

Re: [ansible-project] Passing dynamic parameters to shell script in Ansible playbook

2019-12-08 Thread anil gouranna
ansible-project/CAON3ZR0VwNrb46ELvZK6UG_wL56tms7vpN0a4s1Z3497mxckjg%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Thanks And Regards Anil A Gouranna -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscrib

[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

Re: [ansible-project] Re: win_group_membership

2018-03-28 Thread Anil
Thanks for elaborate information on ansible with windows. Winrm is disabled by default. Not sure about the security constraints when we enable this service. I will do research on it. > On Mar 27, 2018, at 9:32 PM, Jordan Borean wrote: > > You can currently only use the

[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

Re: [ansible-project] Re: Use Ansible to discover/document an environment

2016-05-05 Thread Anil Dasmala
for you: >> >> https://github.com/fboender/ansible-cmdb >> >> It generates a static site but you can specify your own templates (jinja2 >> so already familiar) so you could use that to generate different output. >> >> Hope this helps, >> >> jon &g

[ansible-project] Re: Use Ansible to discover/document an environment

2016-05-04 Thread Anil Dasmala
Hi Jon, I'm also trying to achieve the same, can you please share if you have made any progress with documenting facts to csv. On Wednesday, November 4, 2015 at 1:07:39 AM UTC+5:30, Jon Dison wrote: > > I'm wondering if anyone has any existing playbooks and/or scripts to go > through an

[ansible-project] Re: storing Ansible facts in mysql database

2016-05-03 Thread Anil Dasmala
t > performance gain while still allowing the standard Unix file system > security to be applied. > > On Monday, 2 May 2016 13:26:47 UTC+1, Anil Dasmala wrote: >> >> Hi Guys, >> >> Can someone guide me on how to store the facts for all hosts in inventory >>

Re: [ansible-project] storing Ansible facts in mysql database

2016-05-03 Thread Anil Dasmala
thanks for your advice,Brian. Tried redis, so each host (key)and its facts(value) are stored as a key value pair. is there a way I can get the selective facts with in a given key value?. For example, if I just want to retrieve testhost1's HOSTNAME, ansible_default_ipv4 only, is that possible

[ansible-project] storing Ansible facts in mysql database

2016-05-02 Thread Anil Dasmala
Hi Guys, Can someone guide me on how to store the facts for all hosts in inventory into a mysql database. In other words, output data of setup module to mysql. Appreciate ideas/suggestions. --Anil -- You received this message because you are subscribed to the Google Groups "Ansible Pr

[ansible-project] storing/inserting Ansible facts into mysql database

2016-05-02 Thread Anil Dasmala
Hi Guys, I wanted to store facts of all servers(setup module data/output) into mysql database(for easy custom facts retrieval later) Can someone please give ideas on how to achieve this. Thanks in advance. --Anil -- You received this message because you are subscribed to the Google Groups

[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