YAML Syntax You Need for Ansible
Indentation, lists and key-value mappings.
Playbooks Are Just YAML
Every Ansible playbook is written in YAML, a plain-text format built to be easy for humans to read and write.
Documents Start With ---
A YAML file usually opens with three dashes. This --- marks the start of the document, and Ansible expects to see it.
---
# my first playbook below this lineAll lessons in this course
- YAML Syntax You Need for Ansible
- From Ad-Hoc to a Repeatable Playbook
- Run It with ansible-playbook
- Install Nginx in Five Lines