Re: [ansible-project] Create a list of Failed tasks

2020-10-24 Thread J C
Worked - Just had to add {{ OOC | join(', ') }} to clean up the output. Thank you Vladimir. On Fri, Oct 23, 2020 at 4:35 PM Vladimir Botka wrote: > Set variable OOC_status in the block and use it to select the list of > the hosts. See the inline code below (not tested) > > On Fri, 23 Oct 2020

Re: [ansible-project] Create a list of Failed tasks

2020-10-23 Thread Vladimir Botka
Set variable OOC_status in the block and use it to select the list of the hosts. See the inline code below (not tested) On Fri, 23 Oct 2020 12:47:45 -0700 (PDT) "colli...@gmail.com" wrote: > I am trying to get a list of devices that are out of compliance with Cisco > licensing... > > - name:

[ansible-project] Create a list of Failed tasks

2020-10-23 Thread colli...@gmail.com
Hello, I am trying to get a list of devices that are out of compliance with Cisco licensing. I would like to take failed out of compliance devices and add them to a list. Then send it to Microsoft Teams. What I am looking for is a list to just send to Teams once, instead of trying to send