Auth
Регистрируйтесь с тем же email, что вы указали ранее
Forget password?
Registration
Login
Or
I
n
f
i
n
i
t
e
E
d
u
c
a
t
i
o
n
Search on site
Search on site
I
n
f
i
n
i
t
e
E
d
u
c
a
t
i
o
n
🚪
Exit edit
Login
Subject
...
Name
Definition of knowledge
Type
Knowledge
Social
Creative
Technical
Physical
Cognitive
Skill
SEO Keywords
SEO Description
Description:
YAML - is language for serialization data to human-readable string. It is commonly used for configuration files (for example [ansible](https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html), [kubernetes](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/), [GItlab](https://docs.gitlab.com/ee/ci/yaml/), ...) YAML is more compact vs XML YAML supports data types: * string * integer * float * [associative arrays](https://en.wikipedia.org/wiki/Associative_arrays) YAML 1.2 is superset for JSON YAML example (this is ansible playbook): ``` - name: update web servers hosts: webservers remote_user: root tasks: - name: ensure apache is at the latest version yum: name: httpd state: latest - name: write the apache config file template: src: /srv/httpd.j2 dest: /etc/httpd.conf - name: update db servers hosts: databases remote_user: root tasks: - name: ensure postgresql is at the latest version yum: name: postgresql state: latest - name: ensure that postgresql is started service: name: postgresql state: started ```
Cancel
x
Syntax highlight
Text
JS
C#
Java
Python
PHP
SQL
HTML
CSS
XML
JSON
B
I
U
#
H1
H2
H3
“
•
1.
Code
✓
×