ansible -i winhosts win-update-prod -m win_ping -vvvansible 2.8.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/bi003do/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Apr 9 2019, 14:30:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]Using /etc/ansible/ansible.cfg as config filehost_list declined parsing /home/domainuser/Playbooks/WinUpdate/winhosts as it did not pass it's verify_file() methodscript declined parsing /home/domainuser/Playbooks/WinUpdate/winhosts as it did not pass it's verify_file() methodauto declined parsing /home/domainuser/Playbooks/WinUpdate/winhosts as it did not pass it's verify_file() method[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names bydefault, this will change, but still be user configurable on deprecation. This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
Parsed /home/domainuser/Playbooks/WinUpdate/winhosts inventory source with ini pluginMETA: ran handlersUsing module file /usr/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1Pipelining is enabled.<covmgrid83> ESTABLISH WINRM CONNECTION FOR USER: domai...@MYDOMAIN.LOCAL on PORT 5986 TO covmgrid83EXEC (via pipeline wrapper)The full traceback is:Property 'ErrorRecord' cannot be found on this object. Make sure that it exists.At line:61 char:5+ Write-AnsibleError -Message "Unhandled exception while executing module" `+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException + FullyQualifiedErrorId : PropertyNotFoundStrict
ScriptStackTrace:at <ScriptBlock>, <No file>: line 61at <ScriptBlock>, <No file>: line 26at <ScriptBlock><End>, <No file>: line 137at <ScriptBlock>, <No file>: line 7
System.Management.Automation.PropertyNotFoundException: Property 'ErrorRecord' cannot be found on this object. Make sure that it exists. at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exc eption) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)covmgrid83 | FAILED! => { "changed": false, "msg": "Failed to invoke PowerShell module: Property 'ErrorRecord' cannot be found on this object. Make sure that it exists."}
Thanks again Jon, yes started looking at pip to install and hopefully can revert to 2.6 today to test if this is the problem definitively.
I use my own wsus server and its pretty beefy (just increased the pool memory in it as it did crash sometimes and that all seems good now) and only about 100 systems on the network that use this wsus, but I will double check that its working…
I don’t use any custom modules… I’m pretty basic plain jane at this point as this was my first project in ansible.
I’m finally back from my travels and dinky little laptop screen so I can start to work on this in earnest on my workstation now and hopefully turn up the problem.
I appreciate your thoughts and advice, helps keep me thinking in more directions with another set of eyes! 😊
Bill
--
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/b18ac48b-2158-441d-9c8c-203a5939563f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I back leveled to 2.6, things started working then, but ran into a known bug, advanced to 2.6.2 and it appears stable now.
I need to get some updates on windows systems done pretty urgently, as soon as those long running processes finish I will attempt to go back to 2.8 and see if the problems return and if so file an issue per Matt’s suggestion in github.
Thanks again for the suggesting using pip for installing, this makes it much easier to pinpoint problems for me
Bill
Hello William,