On Sunday, 1 December 2013 15:19:30 UTC+1, Matt Coddington wrote:

Hi Matt,

i believe i had run into something very similar, if not identical, trying 
> to follow Michael's original post on this.  my solution ended up being to 
> reference the vars dir relatively as opposed to assuming ansible could just 
> find it; my bad for not submitting a bug.  Anand, does something like this 
> work for you?
>
> - include_vars: "{{ item }}"
>   with_first_found:
>     - ../vars/{{ ansible_hostname }}.yml
>     - ../vars/default.yml
>

Yes, this does work. Thank you for suggesting it.

Regards,

Anand 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to