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_
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
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
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,
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