Re: [ansible-project] How to extract one attribute from a list of dictionaries

2020-04-24 Thread SandeepK
Thank you guys that helps! On Friday, April 24, 2020 at 4:06:08 AM UTC-4, Stefan Hornburg (Racke) wrote: > > On 4/24/20 10:01 AM, jean-christophe manciot wrote: > > Yes, of course: you can define the variable anywhere, including in the > hosts file. > > There are 2 differences though: > > >

Re: [ansible-project] How to extract one attribute from a list of dictionaries

2020-04-23 Thread SandeepK
Can we give the same information in hosts file and still work? On Tuesday, April 21, 2020 at 11:55:02 AM UTC-4, Dick Visser wrote: > > just to make sure - this is a list of list of dictionaries. > If this is your source of truth, and you intend to have a list of dicts, > then it could look like t