I would like to merge arrays in YAML, and load them via ruby -
some_stuff: &some_stuff - a - b - c combined_stuff: <<: *some_stuff - d -
You can merge mappings then convert their keys into a list, under these conditions:
some_stuff: &some_stuff a: b: c: combined_stuff: <<: *some_stuff d: e: f: {{ combined_stuff | list }}