v
veerubhotla sowmithri

Posted on 25th April 2024|36 views

0
votes

Ansible Extra Vars

What is the use of 'extra_vars' in Ansible?

Answers
P
Harshel Mike

Posted on 25th April 2024

In Ansible, we use extra_vars to send extra variables to the Ansible playbook. We can do this as follows:

ansible-playbook extra_var_single.yml --extra-var my_var=CoolCmdLineVar

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos