From 925f60247ae0b8cd46cf581c27e87a2240681314 Mon Sep 17 00:00:00 2001 From: Matthias Lohr Date: Wed, 24 Jun 2026 13:38:21 +0200 Subject: [PATCH] Make cordon/uncordon confirmation prompts consistent (#13313) Mention cordon explicitly in the pre-upgrade prompt and add the node name plus the same continue/cancel hint to the uncordon prompt so both prompts share consistent wording. --- roles/upgrade/post-upgrade/tasks/main.yml | 2 +- roles/upgrade/pre-upgrade/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/upgrade/post-upgrade/tasks/main.yml b/roles/upgrade/post-upgrade/tasks/main.yml index 985c2ec0b..8f0ed334d 100644 --- a/roles/upgrade/post-upgrade/tasks/main.yml +++ b/roles/upgrade/post-upgrade/tasks/main.yml @@ -14,7 +14,7 @@ - name: Confirm node uncordon pause: echo: true - prompt: "Ready to uncordon node {{ kube_override_hostname | default(inventory_hostname) }}?" + prompt: "Ready to uncordon node {{ kube_override_hostname | default(inventory_hostname) }}? (Press Enter to continue or Ctrl+C for other options)" when: - upgrade_node_post_upgrade_confirm diff --git a/roles/upgrade/pre-upgrade/tasks/main.yml b/roles/upgrade/pre-upgrade/tasks/main.yml index 27e1309b9..9a27c9563 100644 --- a/roles/upgrade/pre-upgrade/tasks/main.yml +++ b/roles/upgrade/pre-upgrade/tasks/main.yml @@ -3,7 +3,7 @@ - name: Confirm node upgrade pause: echo: true - prompt: "Ready to upgrade node {{ kube_override_hostname | default(inventory_hostname) }}? (Press Enter to continue or Ctrl+C for other options)" + prompt: "Ready to cordon and upgrade node {{ kube_override_hostname | default(inventory_hostname) }}? (Press Enter to continue or Ctrl+C for other options)" when: - upgrade_node_confirm