© Michael Heap 2016

Michael Heap, Ansible, 10.1007/978-1-4842-1659-0_11

11. Appendix B. YAML Files

Michael Heap

(1)Reading, Berkshire, UK

YAML (which is a recursive acronym that stands for YAML Ain’t Markup Language) is a data-serialization language that is designed to be both human and machine readable. It was first proposed in 2001, and it was designed to be easily mapped to common data types in high-level languages, namely lists, maps, and scalar values.

YAML is a whitespace-sensitive language. This leads to YAML files being extremely readable by humans thanks to their familiar indentation to denote nested data. In addition to being readable, YAML has support for data referencing, where you can define a block of data once and reference it elsewhere ...

Get Ansible: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.