upgrade.yml 930 B

1234567891011121314151617
  1. ---
  2. # This playbook upgrades an existing AWS cluster, leaving nodes untouched if used with an 'online' deployment type.
  3. # Usage:
  4. # ansible-playbook playbooks/aws/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml -e deployment_type=online -e cluster_id=<cluster_id>
  5. - include: ../../../../common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml
  6. vars_files:
  7. - "{{lookup('file', '../../../../aws/openshift-cluster/vars.yml')}}"
  8. - "{{lookup('file', '../../../../aws/openshift-cluster/cluster_hosts.yml')}}"
  9. vars:
  10. g_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
  11. g_sudo: "{{ deployment_vars[deployment_type].become }}"
  12. g_nodeonmaster: true
  13. openshift_cluster_id: "{{ cluster_id }}"
  14. openshift_debug_level: "{{ debug_level }}"
  15. openshift_deployment_type: "{{ deployment_type }}"
  16. openshift_hostname: "{{ ec2_private_ip_address }}"
  17. openshift_public_hostname: "{{ ec2_ip_address }}"