Hi,

is it possible to retrieve variables defined per host with all group_vars 
and host_vars definitions applied?

The case:

let's say we have a task to configure an haproxy instance.

In its config file template we iterate over servers in the `webserver` 
group and need to retrieve the `httpd_port` variable that might be defined 
in either some of `group_vars` or `host_vars`.

So for a particular server it might be a specific setting in 
`host_vars/hostname` or a generic one from `group_vars/webserver`

How would you resolve it?

-- 
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/b3a69df8-8eed-4e8c-a430-9fd308e9513c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to