upgrade_node_group.yml 698 B

123456789101112131415161718192021222324
  1. ---
  2. - include_tasks: provision_nodes.yml
  3. vars:
  4. openshift_aws_node_group_upgrade: True
  5. - debug: var=openshift_aws_current_asgs
  6. - debug: var=openshift_aws_created_asgs
  7. - name: fail if asg variables aren't set
  8. fail:
  9. msg: "Please ensure that openshift_aws_created_asgs and openshift_aws_current_asgs are defined."
  10. when:
  11. - openshift_aws_created_asgs == []
  12. - openshift_aws_current_asgs == []
  13. - include_tasks: accept_nodes.yml
  14. when: openshift_aws_upgrade_accept_nodes | default(True)
  15. - include_tasks: setup_scale_group_facts.yml
  16. - include_tasks: setup_master_group.yml
  17. vars:
  18. # we do not set etcd here as its limited to 1 or 3
  19. openshift_aws_masters_groups: masters,nodes