From e2754beb950f69294b71253b9f732b11c2a234f5 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Thu, 19 Jan 2017 14:44:20 -0400 Subject: Debug message before running hooks. --- .../common/openshift-cluster/upgrades/upgrade_control_plane.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'playbooks/common') 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 -- cgit v1.2.3