Re: [ansible-project] Intended behavior of variable expansion in role handlers?

2018-05-20 Thread Kai Stian Olstad
On 16.05.2018 19:28, luciano.cavalhe...@gmail.com wrote: roles/some_role/defaults.yml: instance_name: "default" instance_conf_file: "/etc/servicename-{{instance_name}}.conf" instance_param1: "some value" instance_param2: "some other value" roles/some_role/tasks.yml: - template: dest: {{insta

[ansible-project] Intended behavior of variable expansion in role handlers?

2018-05-16 Thread luciano . cavalheiro
Greetings, I found an unexpected behavior when role variables, with default values defined, are overwritten by role parameters in the playbook. I would like to confirm whether its a bug or working as designed before opening an issue on github. Here is the test case. I have defined a role to co