in Ansible by
Q:
How do you define default values of variables in Roles?

► Click here to show 1 Answer

0 votes
by

Default variables for a role can be defined in <role>/defaults/main.yml file. Role default has  lower precedence, hence they can be override very easily as required. 

Ansible
Learn More with Madanswer

Related questions

0 votes
asked Aug 24, 2019 in Ansible by rahulsharma
...