diff options
author | Jason DeTiberus <detiber@gmail.com> | 2015-11-06 12:03:22 -0500 |
---|---|---|
committer | Jason DeTiberus <detiber@gmail.com> | 2015-11-06 12:03:22 -0500 |
commit | c728a2109e41ef60536d8ef82ae4966b0268ca87 (patch) | |
tree | d432600615ed6aa67c2cec3fe1405f1e2bef9622 /playbooks/adhoc | |
parent | 8b3006399a4fbcacd420fb407c02a7504be3d36b (diff) | |
parent | afb03bb7e30cb46bc3fd55fa58888b13171db299 (diff) | |
download | openshift-c728a2109e41ef60536d8ef82ae4966b0268ca87.tar.gz openshift-c728a2109e41ef60536d8ef82ae4966b0268ca87.tar.bz2 openshift-c728a2109e41ef60536d8ef82ae4966b0268ca87.tar.xz openshift-c728a2109e41ef60536d8ef82ae4966b0268ca87.zip |
Merge pull request #51 from dgoodwin/pre-upgrade
Pre upgrade
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r-- | playbooks/adhoc/upgrades/upgrade.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml index dab0195ac..c0fdab027 100644 --- a/playbooks/adhoc/upgrades/upgrade.yml +++ b/playbooks/adhoc/upgrades/upgrade.yml @@ -52,9 +52,12 @@ - stat: path=/var/lib/openshift register: var_lib_openshift + - stat: path=/var/lib/origin + register: var_lib_origin + - name: Create origin symlink if necessary file: src=/var/lib/openshift/ dest=/var/lib/origin state=link - when: var_lib_openshift.stat.exists == True + when: var_lib_openshift.stat.exists == True and var_lib_origin.stat.exists == False - name: Check available disk space for etcd backup # We assume to be using the data dir for all backups. |