From fd775e50a1ae84df50cb33f8af0ccb727f482a15 Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Tue, 7 Apr 2020 11:27:03 +0200 Subject: [PATCH] Add tripleo_delegate_to var for ceph health validation According to the tripleo-validation change, we're just moving from the default ansible delegate_to to the tripleo_delegate_to directive provided by TripleO. This ensure the task is executed using the overcloud facts, fixing the upgrade (from queens) scenario. Depends-On: https://review.opendev.org/#/c/725303/ Closes-Bug: #1871380 Change-Id: I08e44544e1069c5fd1b2d9832c6778ff32427369 (cherry picked from commit e806c02852a50aa7890c7b0527a2e6968592079b) --- deployment/ceph-ansible/ceph-base.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/ceph-ansible/ceph-base.yaml b/deployment/ceph-ansible/ceph-base.yaml index 103ac9a165..d7ebe84a3a 100644 --- a/deployment/ceph-ansible/ceph-base.yaml +++ b/deployment/ceph-ansible/ceph-base.yaml @@ -683,7 +683,7 @@ outputs: vars: fail_on_ceph_health_err: true osd_percentage_min: {get_param: CephOsdPercentageMin} - delegate_to: "{{ groups['ceph_mon'][0] }}" + tripleo_delegate_to: "{{ groups['ceph_mon'] | default([]) }}" tags: - opendev-validation - opendev-validation-ceph