diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-01 15:34:18 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-03 16:04:43 -0300 |
commit | 0c31d72be3bf32f848eedad9859a81ba858f8c8f (patch) | |
tree | 1c67d477c8888a4d2f0cc69bd0a5cb6a69a818a0 /roles/etcd | |
parent | 31acd9c9abcc31326fe56910f1c58fd9c7673ecd (diff) | |
download | openshift-0c31d72be3bf32f848eedad9859a81ba858f8c8f.tar.gz openshift-0c31d72be3bf32f848eedad9859a81ba858f8c8f.tar.bz2 openshift-0c31d72be3bf32f848eedad9859a81ba858f8c8f.tar.xz openshift-0c31d72be3bf32f848eedad9859a81ba858f8c8f.zip |
Docker 1.10 Upgrade
Adds a separate playbook for Docker 1.10 upgrade that can be run
standalone on a pre-existing 3.2 cluster. The upgrade will take each
node out of rotation, and remove *all* containers and images on it, as
this is reportedly faster and more storage efficient than performing the
in place 1.10 upgrade.
This process is integrated into the 3.1 to 3.2 upgrade process.
Normal config playbooks now become 3.2 only, and require Docker 1.10.
Users of older environments will have to use an appropriate
openshift-ansible version.
Config playbooks no longer are in the business of upgrading or
downgrading docker.
Diffstat (limited to 'roles/etcd')
-rw-r--r-- | roles/etcd/tasks/main.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/etcd/tasks/main.yml b/roles/etcd/tasks/main.yml index 71735dc25..a798dc973 100644 --- a/roles/etcd/tasks/main.yml +++ b/roles/etcd/tasks/main.yml @@ -28,18 +28,18 @@ state: directory mode: 0700 -- name: Check for etcd service presence - command: systemctl show etcd.service - register: etcd_show - changed_when: false - - name: Disable system etcd when containerized - when: etcd_is_containerized | bool and 'LoadState=not-found' not in etcd_show.stdout + when: etcd_is_containerized | bool service: name: etcd state: stopped enabled: no +- name: Check for etcd service presence + command: systemctl show etcd.service + register: etcd_show + changed_when: false + - name: Mask system etcd when containerized when: etcd_is_containerized | bool and 'LoadState=not-found' not in etcd_show.stdout command: systemctl mask etcd |