rare ansible error: failed to combine variables, expected dicts but got a 'dict' and a 'list'

1,863 views
Skip to first unread message

sam

unread,
Nov 10, 2014, 1:56:05 PM11/10/14
to ansible...@googlegroups.com
Hi, I am receiving an error that isn't shown anywhere in my search results:

"ERROR: failed to combine variables, expected dicts but got a 'dict' and a 'list'"

Here's all the related files: 

I've even tried configuring the hosts file to look like this:

Any kind of help would be appreciated, I actually had vagrant and ansible working yesterday, but I deleted all of that work :|

sam

unread,
Nov 10, 2014, 2:43:51 PM11/10/14
to ansible...@googlegroups.com
 I figured it out, I had vars/main.yml and tasks/main.yml for one of my roles mixed up! i.e. I put tasks in vars/main.yml and vars in tasks/main.yml
Reply all
Reply to author
Forward
0 new messages