YAML, or YAML Ain’t Markup Language, is a data serialization language geared toward making human-readable files. Oftentimes you see YAML used in configuration files and other places that often require human editing and use. Ansible is just one bit of software that utilizes YAML, but with a confident knowledge of the data serialization language, writing playbooks can be a simple task.
No Ansible experience is needed for this activity.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a YAML Playbook
Create a
mariadb.yaml
file using the playbook description in the instructions. Save the file with:wq!
.- Run the Playbook to Check Your Work
Ensure your YAML is properly written by running the playbook.