salt.output.yaml_out

Display return data in YAML format

This outputter defaults to printing in YAML block mode for better readability.

CLI Example:

salt '*' foo.bar --out=yaml

Example output:

CLI Example:

saltmine:
  foo:
    bar: baz
    dictionary:
      abc: 123
      def: 456
    list:
      - Hello
      - World
salt.output.yaml_out.output(data, **kwargs)

Print out YAML using the block mode