[stable:vars] stable-1 http_port=80 maxRequestsPerChild=808 ^ this is defining a var named 'stable-1 http_port' , not http_port for stable-1 the format is:
[groupname:vars] varname=value then you can use simply with: debug: var: varname or debug: var: hostvars[inventory_hostname]['varname'] If you want to define a variable PER host do it in the host definition [groupname] hostname varname=value -- ---------- Brian Coca -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7dKk_7J9-rw01%3D0WyXgUWqujY9HOAkAoAXD8szKWMab1w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.