I am using regex_search in a condition block to search for a variable value. I tried
when : - "{{mount_info.output | regex_sea