Open main menu

Changes

20 bytes removed ,  Friday at 10:45
no edit summary
I learned it when it was first introduced in 2001 so at that time it was known as "Yet Another Markup Language", however the acronym later became a recursive backcronym standing for "'''YAML Ain't Markup Language'''". So, what is it then? Well, it's a data serialization format. It is a superset of JSON, which means that any valid JSON is valid YAML.
YAML is used everywhere, such as the '''[[Ansible]] ''' project. Refer If you want to use Ansible, learning YAML first will help you tremendously. If you're ready to jump in, see [https://docs.ansible.com/ansible/latest/reference_appendicesplaybook_guide/YAMLSyntaxplaybooks.html Ansible reference appendices YAML Syntax#working-with-playbooks Working with Playbooks]. If you want to use in the Ansible, learning YAML first will help you tremendouslydocs.
==Resources==
https://www.xkyle.com/A-Detailed-Comparison-of-YAML-Formatters/
=== Websites Tools==='''<code>yamllint</code>''' https://github.com/adrienverge/yamllint GPL3 === Docs ===https://github.com/adrienverge/yamllint<br />
For more on '''Syntax''' rules and examples; plus linting your YAML, see [[yamllint]]
== Snippets ==
<syntaxhighlight lang="yaml+jinja">
# This file IS valid YAML because the Jinja is in a YAML comment