diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2017-01-19 14:44:20 -0400 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2017-01-19 14:44:20 -0400 |
commit | e2754beb950f69294b71253b9f732b11c2a234f5 (patch) | |
tree | 9ef07629ec3c92c4d306141141417a43a0081519 /playbooks/common | |
parent | 67972f33b0f380ae0ddf888389c0419ffa17c7a8 (diff) | |
download | openshift-e2754beb950f69294b71253b9f732b11c2a234f5.tar.gz openshift-e2754beb950f69294b71253b9f732b11c2a234f5.tar.bz2 openshift-e2754beb950f69294b71253b9f732b11c2a234f5.tar.xz openshift-e2754beb950f69294b71253b9f732b11c2a234f5.zip |
Debug message before running hooks.
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml | 6 |
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 |