Skip to content

Tag: YAML

YAML and Ansible

A gentle introduction to YAML for SDN. When learning YAML and Ansible, I would recommend following along in both the YAML website page here and Ansible’s playbook documentation located at this URI. Almost every YAML file you write will start with a list. Items in the list consist of key : value pairs that are commonly known as a ‘hash‘ or as known in Python, a ‘dictionary‘. Therefore knowing how to write a list and dictionary using YAML will get you far. YAML also has a convention (optional) that starts… Read more YAML and Ansible

YAML Ain’t Markup Language

I am studying for my Cisco CCNA. As a self-taught Python programmer and currently learning about SDN, I read about ‘YAML’ in an O’Reilly book I recently picked up, “Network Programmability and Automation”, and how Ansible uses YAML in its playbooks (modules). By the way, I am also doing a “Ansible” deep-dive boot-camp at home too! So, I was working in my Jupyter notebook today and decided to switch things up and further my learning in YAML. If you are wanting to get to know a data serialization language, then… Read more YAML Ain’t Markup Language