Getting 'ansible_processor' is undefined error

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?

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

ansible hostname -m setup […]