diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-07-05 08:07:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 08:07:28 +0200 |
commit | 560164569fbefb52e908e1de4fbe5e4b8a5a844e (patch) | |
tree | 4809c0cd0920bcf25e12e242808d6e9b8ffad0b7 /roles/etcd/tasks | |
parent | ad29d7227e3fe4c6af2c65e037036ecf129f056c (diff) | |
parent | 61e2d5d539677a236b48ee92ad7b618a232e3833 (diff) | |
download | openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.tar.gz openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.tar.bz2 openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.tar.xz openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.zip |
Merge pull request #4674 from ingvagabund/drop-etcdctl-before-etcd_container-service
drop etcdctl before the etcd_container service
Diffstat (limited to 'roles/etcd/tasks')
-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 586aebb11..f0661209f 100644 --- a/roles/etcd/tasks/main.yml +++ b/roles/etcd/tasks/main.yml @@ -10,6 +10,12 @@ package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present when: not etcd_is_containerized | bool +- include_role: + name: etcd_common + vars: + r_etcd_common_action: drop_etcdctl + when: openshift_etcd_etcdctl_profile | default(true) | bool + - block: - name: Pull etcd container command: docker pull {{ openshift.etcd.etcd_image }} @@ -120,12 +126,6 @@ enabled: yes register: start_result -- include_role: - name: etcd_common - vars: - r_etcd_common_action: drop_etcdctl - when: openshift_etcd_etcdctl_profile | default(true) | bool - - name: Set fact etcd_service_status_changed set_fact: etcd_service_status_changed: "{{ start_result | changed }}" |