mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
fix equation for isolated instance capacity
This commit is contained in:
@@ -41,6 +41,7 @@ def main():
|
||||
total_mem_value = out.split()[7]
|
||||
if int(total_mem_value) <= 2048:
|
||||
cap = 50
|
||||
else:
|
||||
cap = 50 + ((int(total_mem_value) / 1024) - 2) * 75
|
||||
|
||||
# Module never results in a change
|
||||
|
||||
Reference in New Issue
Block a user