Hi Dick,
I assumed everyone using ansible would have atleast heard about parsing (even if not used it), that's why i didn't elaborate on it. Maybe i was wrong.
Parsing is used to extract data from output saved in a custom variable and use that data for comparison purpose (for example). This is useful when there is no module or filter available that can be used to manipulate certain kind of data. There are several parsers available like TTP parser, PYATS/genie, etc.
What i have done above is save contents os 'show flash:' in a custom variable and then use TTP parser to extract various data. If ididn't extract it, the output would be seen as just a 'string of characters'. But after parsing data, i can now convert the string into integer like in the case of 'bandwidth'.
I will try your syntax and let you know if it works or not.
Thanks,
Vikram