ansible-collections / community.windows

Windows community collection for Ansible
https://galaxy.ansible.com/community/windows
GNU General Public License v3.0
198 stars 153 forks source link

need to set windows page_file only if page file size is less than 8192 #484

Closed nbkaisj closed 1 year ago

nbkaisj commented 1 year ago

i have 100 machines and first need to query the page file and if it is less than 8192 only then below code should work. but it overrides all.

nbkaisj commented 1 year ago

below is the code to do it. tasks:

reason as my output under register:pagefile_size was of type dictionary