|
@@ -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 }}"
|