provision.yml 660 B

12345678910111213141516171819202122232425
  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. - import_playbook: provision_s3.yml
  12. - import_playbook: provision_elb.yml
  13. - name: Create the master instances
  14. hosts: localhost
  15. tasks:
  16. - name: provision instances
  17. import_role:
  18. name: openshift_aws
  19. tasks_from: provision_masters.yml
  20. - import_playbook: provision_dns.yml