ansible-community / ansible-nomad

:watch: Ansible role for Nomad
https://galaxy.ansible.com/brianshumate/nomad
BSD 2-Clause "Simplified" License
294 stars 163 forks source link

Include tasks using include_tasks #141

Closed ygalblum closed 2 years ago

ygalblum commented 2 years ago

When using include the variables are calculated too early

ygalblum commented 2 years ago

I've found that when using include instead of include_tasks the gossip key is not stored in localhost due to when the variables are calculated. With include_tasks everything seems to work fine

ygalblum commented 2 years ago

@lanefu can you please take a look at this ?

ygalblum commented 2 years ago

@lanefu Thanks a lot