Skip to content

Commit

Permalink
Merge pull request #4689 from ingvagabund/drop-etcdctl-before-etcd_co…
Browse files Browse the repository at this point in the history
…ntainer-service-1.5

[1.5 backport] drop etcdctl before the etcd_container service
  • Loading branch information
ingvagabund authored Jul 8, 2017
2 parents a2b30e3 + 98c12f6 commit aa1f0a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/etcd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present
when: not etcd_is_containerized | bool

- include: etcdctl.yml
when: openshift_etcd_etcdctl_profile | default(true) | bool

- name: Pull etcd container
command: docker pull {{ openshift.etcd.etcd_image }}
register: pull_result
Expand Down Expand Up @@ -132,9 +135,6 @@
enabled: yes
register: start_result

- include: etcdctl.yml
when: openshift_etcd_etcdctl_profile | default(true) | bool

- name: Set fact etcd_service_status_changed
set_fact:
etcd_service_status_changed: "{{ start_result | changed }}"

0 comments on commit aa1f0a0

Please sign in to comment.