I have a role defined with:

- hosts: elk
 sudo: true
 vars:
   es_heap: 8G


I run that role against a given inventory that attempts to override that 
variable:

[elk]
node1 es_heap=2G

[elk:vars]
es_heap=2G

Tried overriding with both host and group vars, but I keep getting the role 
variable.  Aren't the former supposed to override the latter?  I also tried 
moving the variable from the role in /vars/main.yml, but that had no 
effect.  I must be missing something, because having host variable override 
role variable seems pretty basic.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/12a0601b-3d75-40c3-8c1c-3c7476cbcf82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to