Getting 'ansible_processor' is undefined error

138 views
Skip to first unread message

Dhastha Gheer

unread,
Jul 14, 2014, 2:51:01 AM7/14/14
to ansible...@googlegroups.com
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?

Michael DeHaan

unread,
Jul 14, 2014, 3:06:54 PM7/14/14
to ansible...@googlegroups.com
See you have fact gathering turned on and if the fact is in the output of

ansible hostname -m setup [...]





--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8d440372-04b1-43aa-9a3c-f8fee218370c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages