In this tutorial video, we review the essentials of the Ansible Template Module. This module allows files to be written to a remote host via a template language called Jinja2. Jinja2 helps with creating or editing files that contain dynamic content. Here we will be using an Ansible Template Module example with host based variables.
0:00 -- Create a Playbook
0:18 -- Define Target Hosts
0:52 -- Defining Variables
1:40 -- Create a Template Task
2:54 -- Define the Template
5:18 -- Run the Playbook
We hope you enjoyed this video and we thank you for watching. Feel free to comment below if you have any questions or feedback.
Channel && Playlist
Ansible Playlist: • Ansible | Tips, Tutorials, and Lessons
YouTube Channel: / alta3research
Follow us and Catch us at:
Website: https://alta3.com
Twitter: @Alta3Research
Facebook: / alta3research
Linkedin: / alta3-research-inc
Ansible Essentials Course: https://alta3.com/overview-ansible
Alta3 Research, Inc.
https://alta3.com/
Contact Us: https://alta3.com/contact