Re: [ansible-project] trouble iterating through stdout_lines

2018-03-06 Thread Kai Stian Olstad
On Tuesday, 6 March 2018 11.49.30 CET Marcos Georgopoulos wrote: > > Hi, I am trying to work out how to iterate through some results from a > command I am running on a network device. the idea is when I find the line > that matches what I am looking for based on a regexp I want to store it. >

[ansible-project] trouble iterating through stdout_lines

2018-03-06 Thread Marcos Georgopoulos
Hi, I am trying to work out how to iterate through some results from a command I am running on a network device. the idea is when I find the line that matches what I am looking for based on a regexp I want to store it. tasks: - name: get the existing access-list ios_command: provider: