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

ansible hostname -m setup [...]





On Mon, Jul 14, 2014 at 2:51 AM, Dhastha Gheer <[email protected]>
wrote:

> 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?
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/8d440372-04b1-43aa-9a3c-f8fee218370c%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/8d440372-04b1-43aa-9a3c-f8fee218370c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyZFnwT3uw-5erpC9ea7bNr4sVML2OYvW-pHBrz0pXU6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to