Introduction to Ansible Transcripts
Chapter: Data
Lecture: Using Data
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In this chapter, we learned how to take our static playbooks and make them dynamic using the different forms of data that are available.
0:07
Of course, we have variables that allow us to punch in values into our tasks and roles and when we pull any hard coded values out of our tasks
0:15
and separate them into variables it makes our playbooks and our roles more reusable. Also took a look at how to read environment variables.
0:21
You don't want to store all your variables in files and templates can be input data for configuration files
0:27
or README files, and these will be incredibly handy as wet set up many services in future chapters
0:32
such as getting our web server configuration established and much of our data can be sensitive so we want to make sure that we encrypt it
0:39
so we don't accidentally expose passwords or other important information when we check our files in diversion control. While we didn't bring these up
0:45
as core concepts advanceable in previous chapters these are all going to be very important and we'll work with them as we configure a server
0:52
and deploy a Python application in later chapters.