12345678910111213141516171819202122232425262728293031 |
- # This playbook launches a new cluster or converges it if already launched
- ---
- - import_playbook: build_image.yml
- when: openshift_gcp_build_image | default(False) | bool
- - import_playbook: provision.yml
- - hosts: localhost
- tasks:
- - meta: refresh_inventory
- - import_playbook: install.yml
- # Inventory refresh required to remove deleted bootstrap node
- - hosts: localhost
- tasks:
- - meta: refresh_inventory
- # Re-scan GCP machines
- - hosts: localhost
- connection: local
- tasks:
- - name: place all scale groups into Ansible groups
- include_role:
- name: openshift_gcp
- tasks_from: setup_scale_group_facts.yml
- - name: run worker scaleup
- import_playbook: ../../playbooks/openshift-node/scaleup.yml
- vars:
- openshift_api_host: "api.{{ openshift_install_config['metadata']['name'] }}.{{ openshift_install_config['baseDomain'] }}"
|