Thank you that did it. On Monday, March 5, 2018 at 9:08:31 PM UTC+11, Kai Stian Olstad wrote: > > On 05.03.2018 09:31, Marcos Georgopoulos wrote: > > On Monday, March 5, 2018 at 7:12:13 PM UTC+11, Varun Chopra wrote: > >> > >> You can access the first element using > >> result.ansible_facts.napalm_environment.cpu[0].%usage or so. > >> > >> On Monday, March 5, 2018 at 1:17:28 PM UTC+5:30, Marcos Georgopoulos > >> wrote: > >>> > >>> > > Thanks I had tried that but it does not work. See below. > > This should work > > result.ansible_facts.napalm_environment.cpu['0']['%usage'] > > -- > Kai Stian Olstad >
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5eca8c73-11c3-4d81-bc8a-07a078f8f923%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
