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_pagefile play is supposed to display the current pagefile 
configuration, but it is returning an empty list:

    - name: List any configured pagefiles
      win_pagefile:


ok: [dfo-worker04] => {
    "automatic_managed_pagefiles": true,
    "changed": false,
*    "pagefiles": []*
}


I'm running Ansible 2.7.5 on RedHat 7.6:

# ansible --version
ansible 2.7.5
  config file = /root/Docker-SimpliVity/ansible.cfg
  configured module search path = [u'/root/oneview-ansible/library']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Sep 12 2018, 05:31:16) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-36)]


Anyone else getting win_pagefile to return the current pagefile 
configuration?

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/11d0009f-8916-4c9c-adc7-03f0da4ea461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to