... and to answer my own question...

remember when moving inventory vars, which may be expressed as key=value 
pairs into your host_vars or group_vars, that host_vars and group_vars 
expect proper yaml syntax i.e. key: value

Jon

On Thursday, 10 March 2016 15:44:45 UTC, J Hawkesworth wrote:
>
> Hi,
>
> I've been refactoring an inventory file and moving some things out into 
> group and host vars.
>
> When I try and use debug just to check that the inventory file is ok like 
> this:
>
>
> ansible locahost -i bust_inventory -m debug
>
>  I'm getting
>
> ERROR! failed to combine variables, expected dicts but got a 'dict' and a 
> 'AnsibleUnicode'
>
> I tried running with -vvvvv and ANSIBLE_DEBUG=1 but this must be causing a 
> failure pretty early on as the only debug output I get is:
>
>  20111 1457624523.29459: starting run
>
> Does any one have any suggestions on how I can debug whats wrong with my 
> inventory / group / host vars ?
>
> Jon
>
>
>

-- 
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/e15337fd-c9ff-48b9-a142-2c6d34db83e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to