ansible / ansible.builtin / v2.8.18 / callback / cgroup_memory_recap Profiles maximum memory usage of tasks and full execution using cgroups | "added in version" 2.6 of ansible.builtin" Authors: unknown preview | supported by communityansible.builtin.cgroup_memory_recap (v2.8.18) — callback
pip
Install with pip install ansible==2.8.18
This is an ansible callback plugin that profiles maximum memory usage of ansible and individual tasks, and displays a recap at the end using cgroups
cur_mem_file: description: Path to C(memory.usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.usage_in_bytes) env: - name: CGROUP_CUR_MEM_FILE ini: - key: cur_mem_file section: callback_cgroupmemrecap required: true max_mem_file: description: Path to cgroups C(memory.max_usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.max_usage_in_bytes) env: - name: CGROUP_MAX_MEM_FILE ini: - key: max_mem_file section: callback_cgroupmemrecap required: true