# Getting 'ansible\_processor' is undefined error

**URL:** <https://forum.ansible.com/t/getting-ansible-processor-is-undefined-error/15661>\
**Category:** Ansible Project\
**Created:** [July 14, 2014, 6:51am UTC](https://forum.ansible.com/t/getting-ansible-processor-is-undefined-error/15661 "2014-07-14T06:51:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhastha\_Gheer](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@Dhastha\_Gheer](https://forum.ansible.com/u/Dhastha_Gheer)\
**Post date:** [July 14, 2014, 6:51am UTC](https://forum.ansible.com/t/getting-ansible-processor-is-undefined-error/15661/1 "2014-07-14T06:51:00Z")

</div>

Hi all,

I am running a role with following command to deploy it in a remote machine

sudo ansible-playbook run\_role.yml -c ssh -i inventory.ini --limit=hostname -e role=rolename -u username -k -K

But I am getting following error

fatal: [192.168.1.5] =\> {‘msg’: “One or more undefined variables: ‘ansible\_processor’ is undefined”, ‘failed’: True}  
fatal: [192.168.1.5] =\> {‘msg’: ‘One or more items failed.’, ‘failed’: True, ‘changed’: False, ‘results’: [{‘msg’: “One or more undefined variables: ‘ansible\_processor’ is undefined”, ‘failed’: True}]}

What is ansible\_processor? Is this a variable?. How can I solve this issue?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 14, 2014, 7:06pm UTC](https://forum.ansible.com/t/getting-ansible-processor-is-undefined-error/15661/2 "2014-07-14T19:06:51Z")

</div>

See you have fact gathering turned on and if the fact is in the output of

ansible hostname -m setup […]
