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/718011
Closes-Bug: #1871380
Change-Id: I08e44544e1069c5fd1b2d9832c6778ff32427369
This commit is contained in:
Francesco Pantano 2020-04-07 11:27:03 +02:00
parent bfd706e9c6
commit e806c02852
No known key found for this signature in database
GPG Key ID: 799868C47301D458
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,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