Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Mastering Ansible Variables - Part 7

Rahul Wagh via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Dive into a comprehensive tutorial on mastering Ansible variables, covering various data types including strings, booleans, lists, and dictionaries. Learn how to access elements in lists and nested dictionaries, utilize Jinja 2 filters, and manage variables from external files. Explore techniques for passing runtime variables and var files from the command line, and understand variable precedence in Ansible. Gain practical insights to enhance your automation skills and streamline your IT operations with this in-depth guide.

Syllabus

Introduction
String variable in Ansible
Booelan Variable in Anisble
List Variable in Ansible
Access the element in the List
Dictionary Variable in Ansible
Register Variable in Ansible
Access element in nested dictionary
Jinja 2 filters in Ansible
How to Ansible get variable from var files
How to pass runtime --extra-var at run time?
How to pass var file at run time from command line?
Variable precedence in Ansible

Taught by

Rahul Wagh

Reviews

Start your review of Mastering Ansible Variables - Part 7

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.