summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2017-01-19 14:44:20 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2017-01-19 14:44:20 -0400
commite2754beb950f69294b71253b9f732b11c2a234f5 (patch)
tree9ef07629ec3c92c4d306141141417a43a0081519 /playbooks
parent67972f33b0f380ae0ddf888389c0419ffa17c7a8 (diff)
downloadopenshift-e2754beb950f69294b71253b9f732b11c2a234f5.tar.gz
openshift-e2754beb950f69294b71253b9f732b11c2a234f5.tar.bz2
openshift-e2754beb950f69294b71253b9f732b11c2a234f5.tar.xz
openshift-e2754beb950f69294b71253b9f732b11c2a234f5.zip
Debug message before running hooks.
Diffstat (limited to 'playbooks')
-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