On 12/17/2013 10:58 AM, Brian Tatnall wrote:
I'm getting an error when I try to override a nested role variable from a playbook.

Example:

appservers.yml

---
- hosts: appservers
  roles:
    - common
    - { role: foo, foo: { version: 1.4.1 } }

role/foo/vars.yml

---
foo:
  version: 1.4.0

Output:

fatal: [host] => One or more undefined variables: 'dict object' has no attribute 'dir'

FATAL: all hosts have already failed -- aborting

Is it possilbe to override nested variables from a playbook? The 'foo: { version: 1.4.1 }' part of my example.

Thanks,
Brian
--
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].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Can we see the task that is failing?

--
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].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to