YAML how to reuse single string content
Yes, that's called an alias.
You make an Anchor with &anchorname
and refer to it with *anchorname
a: &a "ABC"
b: *a
You can also use an array to define many aliases which is quite succinct.
aliases:
- &foo "foo"
- &bar "bar"
test1: *foo
test2: *bar