install.yml 818 B

1234567891011121314151617181920212223242526272829
  1. # This playbook installs onto a provisioned cluster
  2. #TODO: split into parts: nodes.yml, bootstrap.yml, masters.yml, workers.yml, bootkube/post_setup.yml
  3. ---
  4. - hosts: localhost
  5. connection: local
  6. tasks:
  7. - name: place all scale groups into Ansible groups
  8. include_role:
  9. name: openshift_gcp
  10. tasks_from: setup_scale_group_facts.yml
  11. - hosts: nodes
  12. tasks:
  13. - name: Disable google hostname updater
  14. file:
  15. path: /etc/dhcp/dhclient.d/google_hostname.sh
  16. mode: 0644
  17. - name: run the deploy_cluster_40
  18. import_playbook: ../../playbooks/deploy_cluster_40.yml
  19. - name: destroy bootstrap node
  20. hosts: localhost
  21. connection: local
  22. tasks:
  23. - name: Scale down bootstrap node and update public API DNS record
  24. include_role:
  25. name: openshift_gcp
  26. tasks_from: remove_bootstrap.yml