Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
YAML Fundamentals Compete Course
Rating: 4.3 out of 5(201 ratings)
3,865 students

YAML Fundamentals Compete Course

Learn how to understand YAML files and get some practice writing in YAML. Get familiar with the fundamental YAML syntax
Created byVitalii Shumylo
Last updated 7/2024
English
English [Auto],

What you'll learn

  • Basics of YAML Structure
  • Using Online Parsers
  • Choosing Text Editors and IDEs for YAML
  • Creating a .nanorc File
  • Creating .vimrc file
  • Using VS Code
  • Much more...

Course content

1 section14 lectures1h 51m total length
  • Course Overview. Basics of YAML Structure10:12

    Master YAML fundamentals by reading and writing consistent configurations, linting syntax, and building playbooks and scripts. Explore editor setups, block and flow styles, and indentation to manage multi-document YAML files.

  • Using Online Parsers5:06

    Learn to write and parse YAML using online parsers, explore key-value pairs, lists with dashes, and indentation rules to represent dictionaries, users, and departments, including error handling.

  • Choosing Text Editors and IDEs for YAML6:58

    Learn to choose and configure text editors for YAML, ensuring proper indentation with spaces, avoiding tabs, and enabling syntax highlighting and auto indents for reliable YAML and Ansible playbooks.

  • The Problem with Tabs3:59

    Explore how yaml relies on consistent indentation and careful tab-to-space handling, using command line tools and editors like VS Code to avoid hidden characters and key-value confusion.

  • Creating a .nanorc File8:03

    Install nano on linux, create the dot nano rc, set auto indent and two-space tabs for yaml, edit and validate files with nano and cat, and consider vim.

  • Creating a .vimrc File and VSCode8:04

    Explore configuring Vim with a .vimrc and dot vmmark file, enabling syntax highlighting and YAML-specific settings, then compare using Visual Studio Code for editing YAML files.

  • Basic Building Blocks of YAML Syntax10:27

    Explore the basic building blocks of YAML syntax, including block and flow styles for lists and mappings, scalars like strings, numbers, booleans, and nulls, and comments.

  • YAML Syntax. Part 27:12

    Explore YAML fundamentals by building sequences, mappings, and nested collections with scalars, and learn flow and block styles, indentation, and lists of mappings.

  • YAML Syntax. Part 25:51

    Explore yaml syntax, including document structures with start and end markers, anchors and aliases, and complex keys with sequences and mappings, plus compact nesting for streamlined data.

  • Using Tags3:43

    Explore how YAML tags explicitly declare data types, from untagged values to explicit string and timestamp tags, with examples of integers, floats, and hex data.

  • YAML Synatax Example7:26

    Explore YAML syntax through an end-to-end example including conference data, sessions, and attendee registration, using anchors, aliases, flow style sequences, and complex keys.

  • Understanding YAML Syntax. Example 211:39

    Explore YAML fundamentals for Ansible, including basic syntax rules, data types, lists and dictionaries, and practical lab examples using vim on a RHEL system.

  • Understanding YAML Syntax. Example 2. Part 211:02

    Explore YAML syntax by combining lists and dictionaries through a practical, complex example of employees with names, ages, and skills, and extend to Ansible inventories and playbooks.

  • An Ansible Playbook Example with YAML11:32

    Create an ansible playbook in yaml to install httpd, open port 80 via firewall commands, and start and enable the Apache service on boot, with a reload firewall handler.

Requirements

  • No particular requirements or prerequisites needed for taking this course

Description

Understanding YAML is not something that comes naturally to everyone. When you first look at a YAML file, it may appear as though Python and someone's to-do list had a collision. You will gain an understanding of YAML files and get some practice writing in YAML by taking this course, which is titled "YAML Fundamentals Compete Course" You will begin by becoming familiar with the fundamental syntax of YAML. After that, you'll learn how to build more advanced structures by applying the fundamental syntax you just learned. After you have finished this training, you will have the knowledge of YAML as well as the abilities essential to use the language effectively in the day-to-day work you do in the information technology business.

The following is a synopsis of the topics covered in this class:

Course Overview.  Basics of YAML Structure

Using Online Parsers

Choosing Text Editors and IDEs for YAML

The Problem with Tabs

Creating a .nanorc File

Creating a .vimrc File

Using VSCode

And more…


FYI: YAML  is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted. YAML targets many of the same communications applications as Extensible Markup Language (XML) but has a minimal syntax which intentionally differs from SGML. It uses both Python-style indentation to indicate nesting, and a more compact format that uses [...] for lists and {...} for maps thus JSON files are valid YAML


Who this course is for:

  • System Administrators
  • Devops
  • Developers