Open main menu

CDOT Wiki β

Introduction to YAML

Revision as of 18:03, 22 November 2019 by Rchan (talk | contribs) (Created page with "= What is YAML? = * YAML stands for "YAML Ain’t markup language" * It is a human-readable data serialization language that is used in Ansible to package output and its playb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What is YAML?

  • YAML stands for "YAML Ain’t markup language"
  • It is a human-readable data serialization language that is used in Ansible to package output and its playbooks

What are the major components in YAML?

  • declarations: name: 'yum'
  • lists:
- 'item_a'
- 'item_b'
- 'item_c'
  • associative arrays:
item_a:
name: 'Name A'
id: '12345678'
item_b:
name: 'Name B'
id: '98765432'