Good point about item! Would it be better to declare the inventory like 
this?

[emmaxd]
apbe01 host_alias=apbe01 ansible_ssh_host=10.124.1.1
apbe02 host_alias=apbe02 ansible_ssh_host=10.124.1.2

[application_servers]
apbe01

[utility_servers]
apbe01

[postgres_master]
apbe01

[alfresco_application]
apbe02

[alfresco_database]
apbe02

[alfresco_storage]
apbe02



On Wednesday, 10 February 2016 16:27:32 UTC, Brian Coca wrote:
>
> First,do NOT use item as it overloads the existing variable from loops
>
> The error you are getting is because not all hosts have ansible_ssh_host 
> defined but all those in emmaxd group do
>
>
>

-- 
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/d86507dd-aee3-4018-9179-b10e932027e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to