ansible / ansible.builtin / v2.9.4 / module / gluster_heal_info Gather information on self-heal or rebalance status | "added in version" 2.8 of ansible.builtin" Authors: Devyani Kota (@devyanikota) preview | supported by communityansible.builtin.gluster_heal_info (v2.9.4) — module
pip
Install with pip install ansible==2.9.4
Gather facts about either self-heal or rebalance status.
This module was called C(gluster_heal_facts) before Ansible 2.9, returning C(ansible_facts). Note that the M(gluster_heal_info) module no longer returns C(ansible_facts)!
- name: Gather self-heal facts about all gluster hosts in the cluster gluster_heal_info: name: test_volume status_filter: self-heal register: self_heal_status
- debug: var: self_heal_status
- name: Gather rebalance facts about all gluster hosts in the cluster gluster_heal_info: name: test_volume status_filter: rebalance register: rebalance_status
- debug: var: rebalance_status
name: aliases: - volume description: - The volume name. required: true status_filter: choices: - self-heal - rebalance default: self-heal description: - Determines which facts are to be returned. - If the C(status_filter) is C(self-heal), status of self-heal, along with the number of files still in process are returned. - If the C(status_filter) is C(rebalance), rebalance status is returned.
heal_info: description: List of files that still need healing process returned: On success type: list name: description: GlusterFS volume name returned: always type: str rebalance_status: description: Status of rebalance operation returned: On success type: list status_filter: description: Whether self-heal or rebalance status is to be returned returned: always type: str