Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - hosts: hosts
- remote_user: root
- tasks:
- - name: Gather self-heal facts about all gluster hosts in the cluster
- gluster_heal_info:
- name: "{{ item }}"
- status_filter: self-heal
- register: self_heal_status
- with_items:
- - data
- - debug:
- var: " self_heal_status.results[0].glusterfs.heal_info | map(attribute='no_of_entries') | list "
Advertisement
Add Comment
Please, Sign In to add comment