# group\_vars produces error

**URL:** <https://forum.ansible.com/t/group-vars-produces-error/20509>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [February 10, 2016, 12:53pm UTC](https://forum.ansible.com/t/group-vars-produces-error/20509 "2016-02-10T12:53:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sascha\_Andres](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sascha_andres/32/3742_2.png) [@Sascha\_Andres](https://forum.ansible.com/u/Sascha_Andres)\
**Post date:** [February 10, 2016, 12:53pm UTC](https://forum.ansible.com/t/group-vars-produces-error/20509/1 "2016-02-10T12:53:05Z")

</div>

Hello,

I have two machines both running ansible 2.0.0.2 on Ubuntu 14.04.3 LTS. On one machine ( my work machine )  
the yaml file works well while on the deployment server it throws an error “ERROR! failed to combine variables, expected dicts but got a ‘dict’ and a ‘AnsibleUnicode’”

---

<div class="post-metadata">

**Author:** ![Sascha\_Andres](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sascha_andres/32/3742_2.png) [@Sascha\_Andres](https://forum.ansible.com/u/Sascha_Andres)\
**Post date:** [February 12, 2016, 1:14pm UTC](https://forum.ansible.com/t/group-vars-produces-error/20509/2 "2016-02-12T13:14:04Z")

</div>

When switching to root it works, using a user having sudo rights with NOPASSWD it does not work

---

<div class="post-metadata">

**Author:** ![Nusenu1](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Post date:** [February 12, 2016, 1:18pm UTC](https://forum.ansible.com/t/group-vars-produces-error/20509/3 "2016-02-12T13:18:52Z")

</div>

Sascha Andres:

> When switching to root it works, using a user having sudo rights with  
> NOPASSWD it does not work

did you specify 'become: yes' (for the sudo case)?

---

<div class="post-metadata">

**Author:** ![Sascha\_Andres](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sascha_andres/32/3742_2.png) [@Sascha\_Andres](https://forum.ansible.com/u/Sascha_Andres)\
**Post date:** [February 24, 2016, 9:28am UTC](https://forum.ansible.com/t/group-vars-produces-error/20509/4 "2016-02-24T09:28:44Z")

</div>

I have. it seems related to [[v2] ‘Timeout (12s) waiting for privilege escalation prompt’ when using with\_items for commands that last longer than 12 seconds](https://github.com/ansible/ansible/issues/13278)

The fix does not seem to made it’s way to 2.0.0.2 release
