Re: [ansible-project] how to get all the details

2017-11-30 Thread Kai Stian Olstad
On Thursday, 30 November 2017 18.04.19 CET coach rhca wrote: > > Also want to know , here we are using the result.files , what are the other > options we can use..could you please suggest any link where we can get more > info about the options available we can use just like results.files For the

Re: [ansible-project] how to get all the details

2017-11-30 Thread coach rhca
Also want to know , here we are using the result.files , what are the other options we can use..could you please suggest any link where we can get more info about the options available we can use just like results.files On Thu, Nov 30, 2017 at 5:54 PM, coach rhca wrote: > Thanks Kai for the help

Re: [ansible-project] how to get all the details

2017-11-30 Thread coach rhca
Thanks Kai for the help.appreciate it On Wed, Nov 29, 2017 at 8:14 PM, Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On Wednesday, 29 November 2017 15.35.03 CET coach rhca wrote: > > > > Thanks Kai, I did the same as suggested by you to find the ifcfg-* but > when > > i register th

Re: [ansible-project] how to get all the details

2017-11-29 Thread Kai Stian Olstad
On Wednesday, 29 November 2017 15.35.03 CET coach rhca wrote: > > Thanks Kai, I did the same as suggested by you to find the ifcfg-* but when > i register the variable say result. the output of the result variable shows > the entire list of attributes of the file, we need to get only the name of >

Re: [ansible-project] how to get all the details

2017-11-29 Thread coach rhca
Thanks Kai, I did the same as suggested by you to find the ifcfg-* but when i register the variable say result. the output of the result variable shows the entire list of attributes of the file, we need to get only the name of the interface but what the output is as below..could you please suggest

Re: [ansible-project] how to get all the details

2017-11-28 Thread Kai Stian Olstad
On Tuesday, 28 November 2017 15.36.34 CET coach rhca wrote: > > thanks Kai, actually trying to edit a parameter in the network interface > files I am using something like > lineinfile: "dest=/etc/sysconfig/network-scripts/*ifcfg-{{ > ansible_default_ipv4.interface }*} regexp='^{{ item.regexp }}'

Re: [ansible-project] how to get all the details

2017-11-28 Thread coach rhca
thanks Kai, actually trying to edit a parameter in the network interface files I am using something like lineinfile: "dest=/etc/sysconfig/network-scripts/*ifcfg-{{ ansible_default_ipv4.interface }*} regexp='^{{ item.regexp }}' line='{{ item.line }}'" but this only gives me the default network ca

Re: [ansible-project] how to get all the details

2017-11-28 Thread Kai Stian Olstad
On Tuesday, 28 November 2017 12.15.41 CET coach.r...@gmail.com wrote: > IS there is a way that we can get the name of all network interfaces as we > have ansible_default_ipv4.interface gives only the primary one . Need to > get all the interface name so that a parameter can be modified for it. a

[ansible-project] how to get all the details

2017-11-28 Thread coach . rhca
IS there is a way that we can get the name of all network interfaces as we have ansible_default_ipv4.interface gives only the primary one . Need to get all the interface name so that a parameter can be modified for it. -- You received this message because you are subscribed to the Google Groups