As we have mentioned in the previous chapter, Ansible can be used for both, creating and managing a whole infrastructure, as well as be integrated into an infrastructure that is already working.
In this chapter, we will see:
But first we will talk about YAML Ain't Markup Language (YAML), a human-readable data serialization language that is widely used in Ansible.
YAML, like many other data serialization languages (such as JSON), has very few, basic concepts:
A declaration is very similar to a variable in any other language, that is:
name: 'This is the name'