find_output with filter

Hi Team,

i would like to see only GREEN/RED in out put, can you please let me know how i can filter it?
Playbook:

  • name: sddc health
    command: /opt/vmware/sddc-support/sos --health-check
    register: find_output
  • debug:
    var: find_output

Hi Team,

Any help is appreciated?

Thanks

I would use the json output option of the sos tool and then filter things.
Manipulating that big block of text will be very cumbersome and fragile.

Fyi this list is not exactly a ‘team’ but more a collection of individuals willing to help.

Thank you so much for the info …