Re: [ansible-project] roles - apply variable values from /defaults/main.yml

2022-01-20 Thread Stefan Hornburg (Racke)
On 20/01/2022 19:47, dulhaver via Ansible Project wrote: so, that is a clear yes (and great little exercise) then. I'll have to figure out, why it does't work atm thx for sharing Well to get help you need to elaborate on "why it does't work atm". The variables in defaults/main.yml do have ver

Re: [ansible-project] roles - apply variable values from /defaults/main.yml

2022-01-20 Thread dulhaver via Ansible Project
so, that is a clear yes (and great little exercise) then. I'll have to figure out, why it does't work atm thx for sharing > On 01/20/2022 5:39 PM Vladimir Botka wrote: > > > On Thu, 20 Jan 2022 17:15:42 +0100 (CET) > dulhaver via Ansible Project wrote: > > > As far my understanding goes t

Re: [ansible-project] roles - apply variable values from /defaults/main.yml

2022-01-20 Thread Vladimir Botka
On Thu, 20 Jan 2022 17:15:42 +0100 (CET) dulhaver via Ansible Project wrote: > As far my understanding goes the /tasks/main.yml should read the variables > from /defaults/main.yml no matter what (without any vars_files: declaration. > Is that understanding correct? Yes. This is correct. For ex

[ansible-project] roles - apply variable values from /defaults/main.yml

2022-01-20 Thread dulhaver via Ansible Project
using roles with this type of structure and face a problem with variable values apparently not being applied from the /defaults/main.yml role01 |__/tasks | | | |__main.yml | |__/defaults | |__main.yml As far my understanding goes the /tasks/main.