'Ansible Facts: How to get free memory in Solaris server?
In RHEL machines, ansible_facts gives free memory using ansible_memfree_mb.
What is the equivalent fact parameter in Solaris machines?
I am not seeing any same or related fact in Solaris.
Please help.
Solution 1:[1]
After reviewing the source of sunos.py it seems there is nothing like memfree_mb reported back. Maybe it is possible for you to extend the module? After reading about Solaris Memory, prtstat or prtdiag might be possible to Add custom facts.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | U880D |
