Re: [ansible-project] regex_findall doesn't work for me. What am i doing wrong?

2021-04-09 Thread Dick Visser
On Fri, 9 Apr 2021 at 14:43, Vikram S wrote: > Hi, > > I wrote a script to check if particular IOS version is set as boot > statement. But it doesn't work. What am i doing wrong? > I don't know. What does "it doesn't work" mean in this context? Put differently, what would make you say "it works"

[ansible-project] regex_findall doesn't work for me. What am i doing wrong?

2021-04-09 Thread Vikram S
Hi, I wrote a script to check if particular IOS version is set as boot statement. But it doesn't work. What am i doing wrong? name: Gather show boot ios_command: commands: "show boot" register: show_boot debug: msg: "{{ 'show_boot.stdout' | regex_findall('c2960x-universalk9-mz.152-7.E3.b