> For the complete documentation index, see [llms.txt](https://devops.1w2.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops.1w2.net/ansible/yaml.md).

# Yaml

<figure><img src="https://1041106579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctwsWVHhTx4xf0lm1noh%2Fuploads%2F43smPiIuPmpHo4zNNGSj%2Fyaml1.webp?alt=media&amp;token=83341031-4b22-4e26-8364-cbe20c612c13" alt=""><figcaption></figcaption></figure>

* XML,XHTML,JSON gibi konfigürasyon amaçlı dosyalardır.&#x20;
* Bir json süper setidir.&#x20;
* Girintilere önem verir. (hizalar yaml formatına uygun olmalıdır)
* Parent-child için girintiler önemlidir. (alt başlıklar vb)&#x20;
* Büyük - küçük harf duyarlıdır.&#x20;
* .yaml ve .yml olarak yazılabilir.&#x20;
* Yorum için # işareti kullanılabilir.&#x20;
* UTF-8 / UTF-10 / UTF-32 destekler.&#x20;
* Json - YML convert edilebilir.

<figure><img src="https://1041106579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctwsWVHhTx4xf0lm1noh%2Fuploads%2Ff0WdEP0qIDTaAaB2JR8F%2Fyaml2.png?alt=media&amp;token=53f31be7-dff4-4afd-aa67-9df0c335845a" alt=""><figcaption></figcaption></figure>

YML Data türleri

* String
* Boolen
* Integer
* Float
* List
* Dictionary
* Reference

<figure><img src="https://1041106579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctwsWVHhTx4xf0lm1noh%2Fuploads%2FNktBDiFkSNdoe3OM0fjo%2Fyaml3.png?alt=media&amp;token=c1724eef-e681-412b-94c3-f54cf947e733" alt=""><figcaption></figcaption></figure>
