upgrade.yml 392 B

1234567891011
  1. ---
  2. # INPUT r_etcd_upgrade_version
  3. # INPUT r_etcd_upgrade_mechanism
  4. - name: Failt if r_etcd_upgrade_mechanism is not set during upgrade
  5. fail:
  6. msg: "r_etcd_upgrade_mechanism can be only set to 'rpm' or 'image'"
  7. when:
  8. - r_etcd_upgrade_mechanism not in ['rpm', 'image']
  9. - name: "Upgrade {{ r_etcd_upgrade_mechanism }} based etcd"
  10. include: upgrade_{{ r_etcd_upgrade_mechanism }}.yml