|
@@ -5,13 +5,14 @@
|
|
|
- name: Upgrade containerized hosts to {{ etcd_upgrade_version }}
|
|
|
hosts: oo_etcd_hosts_to_upgrade
|
|
|
serial: 1
|
|
|
- roles:
|
|
|
- - role: etcd_upgrade
|
|
|
- r_etcd_upgrade_action: upgrade
|
|
|
- r_etcd_upgrade_mechanism: image
|
|
|
- r_etcd_upgrade_version: "{{ etcd_upgrade_version }}"
|
|
|
- r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}"
|
|
|
- etcd_peer: "{{ openshift.common.hostname }}"
|
|
|
+ tasks:
|
|
|
+ - include_role:
|
|
|
+ name: etcd
|
|
|
+ tasks_from: upgrade_image
|
|
|
+ vars:
|
|
|
+ r_etcd_upgrade_version: "{{ etcd_upgrade_version }}"
|
|
|
+ r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}"
|
|
|
+ etcd_peer: "{{ openshift.common.hostname }}"
|
|
|
when:
|
|
|
- etcd_container_version | default('99') | version_compare(etcd_upgrade_version,'<')
|
|
|
- openshift.common.is_containerized | bool
|