ansible/ansible — pull request #2311 by jeffrizzo (2013-03-06 00:19:41+00:00)
Title: ansible_architecture should be the CPU architecture, not the machine name

Set ansible_architecture to the output of platform.processor(), to get
the cpu architecture, instead of the machine architecture.

If this returns an empty string (it does on some Linux ARM platforms,
for some reason), set it to the same string as ansible_machine.

*** this is especially helpful in places where these are expected to be different (such as the BSDs, where multiple "machines" may share a single "architecture".