Merge "Fix overcloud deprovision hosts list in prompt"

This commit is contained in:
Zuul 2025-01-07 11:12:48 +00:00 committed by Gerrit Code Review
commit a5a8e513b2
2 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,7 @@
- name: confirm_deprovision
prompt: |
The following hosts will be deprovisioned:
{{ play_hosts | join(', ') }}
{{ play_hosts | intersect(groups['overcloud'] | default([])) | join(', ') }}
If you want to proceed type: yes
default: "no"
private: false

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes a bug where non-overcloud hosts would show up in the confirmation
prompt for `kayobe overcloud deprovision`
`LP#2091703 <https://bugs.launchpad.net/kayobe/+bug/2091621>`__