Если вы читали справочную страницу CentOS 7 в free
, там объясняется, что поле available
учитывает, что не вся восстанавливаемая память будет освобождена из-за того, что некоторые элементы используются (память, доступная ядру, например ), в отличие от кеша и свободных полей. Я считаю, что это может быть причиной различий, которые вы видите.
available: Estimation of how much memory is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory slabs will be reclaimed due to items being in use (MemAvailable in /proc/meminfo, available on kernels 3.14, emulated on kernels 2.6.27+, otherwise the same as free)
Вы можете создать супергруппу, содержащую общие переменные.
web_hosts
hosts
определите, что группы web_master
и web_children
являются дочерними элементами группы web_hosts
:[web_master]
…
[web_children]
…
[web_hosts:children]
web_master
web_children
Дополнительную информацию см. в :https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#inheriting-variable-values-group-variables-for-groups-of-groups
.