[ansible-project] win_pagefile is not returning configured pagefiles

2019-01-03 Thread Dave Olker
My Windows 2016 server has the following pagefile configuration: C:\Windows\system32>wmic pagefile list /format:list AllocatedBaseSize=9728 CurrentUsage=0 Description=D:\pagefile.sys InstallDate=20190103102344.598855-480 Name=D:\pagefile.sys PeakUsage=0 Status= TempPageFile=FALSE The below win_

[ansible-project] win_uri returning "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

2018-02-23 Thread Dave Olker
In my Ansible playbook I have a task that calls the "uri" module when running on Linux systems and "win_uri" when run on Windows systems. The remainder of the task is identical: - name: init win_uri: url: "https://ucp01/_thereisnosuchpage"; headers: Content-Type: application/jso

[ansible-project] Re: win_uri returning "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

2018-02-25 Thread Dave Olker
Thanks for your help Jordan. I've pulled down the latest win_uri.ps1 code from GitHub and placed it in a "library" directory in my role. When I attempt to run the playbook I get this: fatal: [nm-win-worker01]: FAILED! => { "msg": "Could not find imported module support code for 'Ansible

[ansible-project] Re: win_uri returning "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

2018-02-25 Thread Dave Olker
Hey Jordan, Thanks again for the help. One other related question - I notice that the win_uri call returns vastly different output than the Linux equivalent uri call. The same code run against a Linux host calling uri returns: ok: [nm-win-worker01 -> localhost] => { "changed": false,

[ansible-project] Re: win_uri returning "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

2018-02-26 Thread Dave Olker
I opened https://github.com/ansible/ansible/issues/36760 for this issue. Dave -- 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-project+unsubscr...@goo