This made no difference. I'm confused as to how to use ['all']. Am I making 
bad choices in how I organise the inventory? 

On Wednesday, 10 February 2016 17:57:52 UTC, jepper wrote:
>
> 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/43deebaa-5770-4f87-8c07-2004990c0534%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to