YAMLEX renderer is a replacement of the YAML renderer. It's 100% YAML with a pinch of Salt magic:
salt.utils.aggregation
module.Instructed aggregation within the !aggregation
and the !reset
tags:
#!yamlex
foo: !aggregate first
foo: !aggregate second
bar: !aggregate {first: foo}
bar: !aggregate {second: bar}
baz: !aggregate 42
qux: !aggregate default
!reset qux: !aggregate my custom data
is roughly equivalent to
foo: [first, second]
bar: {first: foo, second: bar}
baz: [42]
qux: [my custom data]