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
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: '**'
>
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 }}"
ot;,
"port": "2001000e1ec23434",
"type": "fc"
},
{
"nickname": "gladsto2p4",
"port": "2001000e1ec25656",
"type": "fc"
}
]
}
--
I want the result to have
2001000e1e4
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
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..
>>>>
>>>>
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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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
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
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
>>
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
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
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
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
27 matches
Mail list logo