gluster.gluster.gluster_heal_info – Gather information on self-heal or rebalance status
This plugin is part of the gluster.gluster collection (version 1.0.2).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install gluster.gluster.
To use it in a playbook, specify:
Gather facts about either self-heal or rebalance status.
This module was called
gluster_heal_factsbefore Ansible 2.9, returning
ansible_facts. Note that the gluster.gluster.gluster_heal_info module no longer returns
The below requirements are needed on the host that executes this module.
GlusterFS > 3.2
- name: Gather self-heal facts about all gluster hosts in the cluster gluster.gluster.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.gluster.gluster_heal_info: name: test_volume status_filter: rebalance register: rebalance_status - debug: var: rebalance_status
Common return values are documented here, the following are the fields unique to this module: