Re: [ansible-project] Ansible showing incorrect info when i try to find free space in switch, please help

2021-03-07 Thread Dick Visser
Nothing prevents you from running a script that returns whatever you want, and use that in the conditional logic in subsequent tasks On Sun, 7 Mar 2021 at 02:33, Vikram S wrote: > I have written a script to check for free space in switch before i proceed > to copy image. I used ios_facts modul

[ansible-project] Ansible showing incorrect info when i try to find free space in switch, please help

2021-03-06 Thread Vikram S
I have written a script to check for free space in switch before i proceed to copy image. I used ios_facts module and i used below return values however the free and total space displayed is incorrect than the actual free/total space i saw in switch. Why is this happening? Incorrect value sho