# debug ansible

**URL:** <https://forum.ansible.com/t/debug-ansible/32239>\
**Category:** Ansible Developer\
**Created:** [February 15, 2020, 1:36am UTC](https://forum.ansible.com/t/debug-ansible/32239 "2020-02-15T01:36:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ansible\_Iac](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@ansible\_Iac](https://forum.ansible.com/u/ansible_Iac)\
**Post date:** [February 15, 2020, 1:36am UTC](https://forum.ansible.com/t/debug-ansible/32239/1 "2020-02-15T01:36:33Z")

</div>

```auto
I am trying to create a playbook that creates user in linux and I have declared my variables as a dictionary's type user_data but when I run it I have the following error :

FAILED! => {

"assertion": "ansible_failed_result.failed == false",
"changed": false,
"evaluated_to": false,
"msg": "Sorry, the unit test failed to create_user. Error = 'dict object' does not have a 'name' attribute."

thank you in advance for your future responses.

```
