riteshchikatwar

Untitled

Jan 8th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. - hosts: hosts
  2. remote_user: root
  3. tasks:
  4. - gluster_heal_info:
  5. name: "{{ item }}"
  6. status_filter: self-heal
  7. wait_for: delay=1
  8. register: self_heal_status
  9. delegate_to: tendrl25.lab.eng.blr.redhat.com
  10. retries: 5
  11. until: "self_heal_status.glusterfs.heal_info | map(attribute='no_of_entries') | list | map('int') | sum == 1"
  12. with_items:
  13. - data
  14. - engine
  15. - vmstore
Advertisement
Add Comment
Please, Sign In to add comment