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

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/output/all/salt.output.yaml_out.html