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

► Click here to show 1 Answer

0 votes

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. 

Learn More with Madanswer

Related questions

0 votes
asked Aug 24, 2019 in Ansible by rahulsharma