openshift-hosted.yml 685 B

123456789101112131415161718192021222324
  1. ---
  2. - name: Alert user to variables needed
  3. hosts: localhost
  4. tasks:
  5. - name: Alert user to variables needed - clusterid
  6. debug:
  7. msg: "openshift_aws_clusterid={{ openshift_aws_clusterid | default('default') }}"
  8. - name: Alert user to variables needed - region
  9. debug:
  10. msg: "openshift_aws_region={{ openshift_aws_region | default('us-east-1') }}"
  11. - name: Setup the master node group
  12. hosts: localhost
  13. tasks:
  14. - import_role:
  15. name: openshift_aws
  16. tasks_from: setup_master_group.yml
  17. - name: run the init
  18. import_playbook: ../../../init/main.yml
  19. - name: Run openshift-hosted playbook
  20. import_playbook: ../../../openshift-hosted/private/config.yml