Re: [ansible-project] Try to put 1 Ansible facts from multiple servers into one list

2020-04-18 Thread Gregory Skelton
Many thanks, I'll give it a try. Greg On Saturday, April 18, 2020 at 2:43:16 AM UTC-5, Stefan Hornburg (Racke) wrote: > > On 4/18/20 1:57 AM, Gregory Skelton wrote: > > I feel this should be easy. > > > > I'm trying to put a fact I set on each server into

[ansible-project] Try to put 1 Ansible facts from multiple servers into one list

2020-04-17 Thread Gregory Skelton
I feel this should be easy. I'm trying to put a fact I set on each server into one central list. sat_id is the Big List sat_id_raw is the variable that I set earlier in the automation. What am I missing here? Thanks in advance name: Put all of the var into a big list set_fact: sat_id:

Re: [ansible-project] Complex variables and a key with a hyphen

2019-06-10 Thread Gregory Skelton
I was trying to use all square brackets instead of mixing dot notation and brackets. Thanks for the quick answer Kia, works great. On Monday, June 10, 2019 at 3:27:17 PM UTC-5, Kai Stian Olstad wrote: > > On 10.06.2019 22:11, Gregory Skelton wrote: > > Hello Everyone, > >

[ansible-project] Complex variables and a key with a hyphen

2019-06-10 Thread Gregory Skelton
Hello Everyone, I'm trying to reference a complex variable, but one of the words has a hyphen which breaks things. Is there a way to set a fact the "specificVar" value from the last line in 1 set_fact statement? So right now I've split up the setting the vars into two different set_fact statement