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 e806c02852
)
This commit is contained in:
parent
df3c2ebf29
commit
fd775e50a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue