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

17 views
Skip to first unread message

Mike Fennemore

unread,
Nov 17, 2017, 4:33:02 AM11/17/17
to Ansible Project
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."}

Jordan Borean

unread,
Nov 17, 2017, 8:17:36 AM11/17/17
to Ansible Project
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.
Reply all
Reply to author
Forward
0 new messages