Aug 24, 2019 in Ansible
Q: How do you define default values of variables in Roles?

1 Answer

0 votes
Aug 24, 2019

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. 

Related questions

0 votes
Aug 24, 2019 in Ansible
0 votes
Aug 24, 2019 in Ansible
...