community.general.gluster_heal_info – Gather information on self-heal or rebalance status¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.gluster_heal_info
.
Synopsis¶
Gather facts about either self-heal or rebalance status.
This module was called
gluster_heal_facts
before Ansible 2.9, returningansible_facts
. Note that the community.general.gluster_heal_info module no longer returnsansible_facts
!
Requirements¶
The below requirements are needed on the host that executes this module.
GlusterFS > 3.2
Parameters¶
Examples¶
- name: Gather self-heal facts about all gluster hosts in the cluster
community.general.gluster_heal_info:
name: test_volume
status_filter: self-heal
register: self_heal_status
- ansible.builtin.debug:
var: self_heal_status
- name: Gather rebalance facts about all gluster hosts in the cluster
community.general.gluster_heal_info:
name: test_volume
status_filter: rebalance
register: rebalance_status
- ansible.builtin.debug:
var: rebalance_status
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Devyani Kota (@devyanikota)