ansible.windows
ansible.windows copied to clipboard
Idea: equivalent of linux load average fact ?
SUMMARY
I am attempting to add a new fact in ansible-core named ansible_loadavg
: https://github.com/ansible/ansible/pull/75319
On Linux, ~~it simply reads and parses the contents of /proc/loadavg
~~ it leverages python's os.getloadavg().
It would be nice to have an equivalent fact that would represent the load average of a Windows host.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
plugins/modules/setup.ps1
ADDITIONAL INFORMATION
I must preface this with the fact that my Windows skills are unfortunately very poor but I am able to search stuff and it seems that the closest equivalent to a load average on Windows is obtained via PowerShell Get-Counter.