Displaying 1 to 5 from 5 results

yq - Command-line YAML and XML processor - jq wrapper for YAML/XML documents

  •    Python

Before using yq, you also have to install its dependency, jq. See the jq installation instructions for details and directions specific to your platform. Use the --width/-w argument to pass the line wrap width for string literals. All other command line arguments are forwarded to jq. yq forwards the exit code jq produced, unless there was an error in YAML parsing, in which case the exit code is 1. See the jq manual for more details on jq features and options.

jinja2-cli - CLI for Jinja2

  •    Python

If PyYAML is present, you can use YAML as an input data source. If toml is present, you can use TOML as an input data source.

Gelatin - Transform text files to XML, JSON, or YAML

  •    Python

Gelatin is a parser generator for converting text to a structured format such as XML, JSON or YAML. Gelatin is a combined lexer, parser, and output generator. Gelatin defines a simple language for converting text into a structured formats.

cfgdiff - diff(1) all your configs

  •    Python

diff(1) is an awesome tool, you use it (or similar implementations like git diff, svn diff etc) every day when dealing with code. But configuration files aren't code. Indentation often does not matter (yeah, there is diff -w and yeah, people use YAML for configs), order of settings does not matter and comments are just beautiful noise. cfgdiff will try to parse your configuration files, fetching all the relevant keys and values from them and then pretty-printing them in the original format. These results are then diffed and the diff is shown to you.




ansible-config_encoder_filters - Ansible role used to deliver the Config Encoder Filters.

  •    Python

This is an Ansible role used to deliver the Config Encoder Filters as a dependency of another Ansible role. Ansible Galaxy contains a lot of useful roles. Some of them exist in many variations which differ only by their parameterization. The parameterization is often used mainly in templates which generate the configuration file. A good example such issues are roles for Nginx of which you can find almost 200 in the Ansible Galaxy.