Ansible JINJA2 (template) Tutorial - Complete Beginners Guide - 2022

Опубликовано: 24 Ноябрь 2022
на канале: LondonIAC / Dennis McCarthy / Automation Engineer
11,195
116

If you're looking to learn Ansible and use templates to automate your work, then this is the video for you! In this tutorial, we'll walk you through the entire process of creating a template from scratch, using easy to follow instructions. This tutorial is designed for beginners, so if you're new to Ansible and templates, then this is the video for you!

This is also helpful to know if you're taking the RHCE.

Subscribe To Me On YouTube: https://bit.ly/lon_sub

In this demo on using templates in Ansible, I’m going to cover the following:

• Ansible_managed – How to let people know the file is managed by Ansible
• Using Ansible facts in templates
• Using playbook variables in templates
• If else conditionals for different outputs
• Create /etc/hosts files using templates and Jinja2

Once you've finished this video, you'll be able to manage the files you need to and control their contents.

More information can be found here:
https://docs.ansible.com/ansible/late...

Subscribe for more videos like this

#ansible #template #module


Смотрите видео Ansible JINJA2 (template) Tutorial - Complete Beginners Guide - 2022 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LondonIAC / Dennis McCarthy / Automation Engineer 24 Ноябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11,195 раз и оно понравилось 116 людям.