summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/upgrades/upgrade.yml
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2015-11-06 10:59:58 -0500
committerJason DeTiberus <detiber@gmail.com>2015-11-06 10:59:58 -0500
commite5cafe3da31848e12568a6fbd79dfd2193bb72e7 (patch)
treedd444fa5401e4448b37e583e9a16858e356ddbff /playbooks/adhoc/upgrades/upgrade.yml
parent77228623b9c96682b44056f07a933ab2d60d5041 (diff)
parent98b69946496d0b214c5bd0d384e1cea0856c4cbb (diff)
downloadopenshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.tar.gz
openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.tar.bz2
openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.tar.xz
openshift-e5cafe3da31848e12568a6fbd79dfd2193bb72e7.zip
Merge pull request #50 from dgoodwin/pre-upgrade
Run pre-upgrade script on nodes
Diffstat (limited to 'playbooks/adhoc/upgrades/upgrade.yml')
-rw-r--r--playbooks/adhoc/upgrades/upgrade.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml
index e807d3fa8..dab0195ac 100644
--- a/playbooks/adhoc/upgrades/upgrade.yml
+++ b/playbooks/adhoc/upgrades/upgrade.yml
@@ -18,6 +18,13 @@
- fail: msg="openshift_master_cluster_method must be set to 'pacemaker'"
when: openshift_master_ha | bool and ((openshift_master_cluster_method is not defined) or (openshift_master_cluster_method is defined and openshift_master_cluster_method != "pacemaker"))
+- name: Run pre-upgrade checks on first master
+ hosts: masters[0]
+ tasks:
+ # If this script errors out ansible will show the default stdout/stderr
+ # which contains details for the user:
+ - script: files/pre-upgrade-check
+
- name: Evaluate etcd_hosts
hosts: localhost
tasks: