Windows Server 2016 non-domain server, Ansible setup module issue

Ansible: 2.1.0.0
Ansible Control Server: Centos 7.4
Target: Windows Server 2016

On running the playbook it fails during the setup module. I have tested locally on the machine for the property in question and it is present.
What is the cause?

TASK [setup] *******************************************************************
Friday 17 November 2017 10:23:50 +0100 (0:00:00.054) 0:00:00.054 *******
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal: [server]: FAILED! => {“changed”: false, “failed”: true, “msg”: “The property ‘TotalPhysicalMemory’ cannot be found on this object. Verify that the property exists.”}

2.1 is 3 releases old and is no longer supported by Ansible. There has also been massive improvements and bug fixes for Windows since then and I would highly recommend you upgrade to at least 2.3 and try again.

I don’t know why it failed but unless you can verify it is still happening on the latest version there is not too much we can do for you.