upgrade_image_members.yml 508 B

12345678910111213141516
  1. ---
  2. # INPUT etcd_upgrade_version
  3. # INPUT etcd_container_version
  4. - name: Upgrade containerized hosts to {{ etcd_upgrade_version }}
  5. hosts: oo_etcd_hosts_to_upgrade
  6. serial: 1
  7. tasks:
  8. - import_role:
  9. name: etcd
  10. tasks_from: upgrade_image.yml
  11. vars:
  12. r_etcd_upgrade_version: "{{ etcd_upgrade_version }}"
  13. etcd_peer: "{{ openshift.common.hostname }}"
  14. when:
  15. - etcd_container_version | default('99') is version_compare(etcd_upgrade_version,'<')
  16. - openshift_is_atomic | bool