upgrade_image_members.yml 550 B

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