- Hi, this is Lesson Five.
In this lesson, you'll learn about using variables.
I will start by explaining why it is important
to separate code from site specific configuration.
And next, you will learn
about the different ways to use variables
in playbooks as well as the different locations
where variables can be defined.
Once you know how to work with variables,
we'll investigate facts which are discovered variables
that contain information about different parts
of your system.
You'll next learn about the different ways
how variables can be written.
Next, I will give you an overview of magic variables.
The system variables that exist as a default,
and you' learn about the register,
an awesome way to write the result
of a command or model into a variable.
In the last video, before the end of Lesson Lab,
you'll learn how to encrypt variables containing
sensitive information using Ansible Vault.