summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index 538d0942f..9cec6ac4b 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -65,6 +65,9 @@
- openshift_facts
post_tasks:
+ - debug: msg="Running pre-master upgrade hook {{ openshift_upgrade_pre_master_hook }}"
+ when: openshift_upgrade_pre_master_hook is defined
+
- include: "{{ openshift_upgrade_pre_master_hook }}"
when: openshift_upgrade_pre_master_hook is defined
@@ -109,6 +112,9 @@
when: ca_crt_stat.stat.isreg and not ca_bundle_stat.stat.exists
# NOTE: We run user provided hooks prior to restarting the system or services.
+ - debug: msg="Running post-master upgrade hook {{ openshift_upgrade_post_master_hook }}"
+ when: openshift_upgrade_post_master_hook is defined
+
- include: "{{ openshift_upgrade_post_master_hook }}"
when: openshift_upgrade_post_master_hook is defined