jobs:
- name: test
public: true
plan:
- try:
task: task1
file: test1.yaml
on_success:
in_parallel:
steps:
- task: task2
file: test2.yaml
- task: task3
file: task3.yaml
I want to extract the value for task from this yaml. It's tricky since it can be at different paths within the file. These are a few more different paths in addition to the above that task can be found in the yaml file. Is there an easy way to extract all values for task? Should I convert to json?