Categories

Aug 24, 2019 in Ansible

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

1 Answer

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. 

Click here to read more about Ansible
Click here to read more about Insurance

Related questions

Madanswer
Aug 24, 2019 in Ansible
Aug 24, 2019 in Ansible
Aug 24, 2019 in Ansible
...