1
0
mirror of https://github.com/oVirt/ovirt-ansible-cluster-upgrade.git synced 2026-02-05 15:45:56 +01:00

moved connection: ssh to correct place

This commit is contained in:
Gobinda Das
2020-07-10 20:52:15 +05:30
parent 2ed71a1054
commit b0f900c76b

View File

@@ -45,7 +45,6 @@
- description: "Upgrading host: {{ item.name }}"
- name: Gather self-heal facts about all gluster hosts in the cluster
connection: ssh
gluster_heal_info:
name: "{{ volume_item.name }}"
status_filter: self-heal
@@ -56,6 +55,7 @@
self_heal_status is defined and
self_heal_status.glusterfs.heal_info | map(attribute='no_of_entries') | select('defined') | list | map('int') | sum == 0
delegate_to: "{{ host_info.ovirt_hosts[0].address }}"
connection: ssh
with_items:
- "{{ cluster_info.ovirt_clusters[0].gluster_volumes }}"
loop_control: