Open dberg1 opened 4 years ago
Example:
"ansible_facts.lpar": {
"capacity_increment": 0.01,
"desired_capacity": 0.5,
"desired_memory": 8192.0,
"desired_variable_capwt": 128,
"desired_vcpus": 2,
"entitled_capacity": 0.5,
"entitled_pool_capacity": 1560,
"group_id": 32784,
"lpar_mode": "Uncapped",
"lpar_name": "castor_gdr_vios2",
"lpar_number": 16,
"lpar_type": "Shared-SMT-4",
"max_memory": 16384.0,
"max_pcpus_in_sys": 20,
"max_pool_capacity": 1800,
"max_vcpus": 4,
"maximum_capacity": 1.5,
"min_memory": 4096.0,
"min_vcpus": 1,
"minimum_capacity": 0.1,
"nodename": "castor_gdr_vios2",
"num_lpars": 25,
"online_memory": 8192.0,
"online_vcpus": 2,
"pcpu_percent": 25.0,
"pcpus_in_pool": 18,
"pcpus_in_sys": 20,
"pool_id": 0,
"psmode": "Disabled",
"shcpus_in_sys": 18,
"unalloc_capacity": 0.0,
"unalloc_weight": 0,
"variable_weight": 128,
"vrm_mode": "Dedicated"
}
}
Do we want lparstat information in ansible facts? This has been proposed in 2018 here: https://github.com/ansible/ansible/pull/49062 but the work has not been completed.