main.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ---
  2. galaxy_info:
  3. author: OpenShift Red Hat
  4. description: OpenShift Embedded Router
  5. company: Red Hat, Inc.
  6. license: Apache License, Version 2.0
  7. min_ansible_version: 1.9
  8. platforms:
  9. - name: EL
  10. versions:
  11. - 7
  12. categories:
  13. - cloud
  14. dependencies:
  15. - role: openshift_cli
  16. - role: openshift_hosted_facts
  17. - role: openshift_projects
  18. # TODO: Move standard project definitions to openshift_hosted/vars/main.yml
  19. # Vars are not accessible in meta/main.yml in ansible-1.9.x
  20. openshift_projects: "{{ openshift_additional_projects | default({}) | oo_merge_dicts({'default':{'default_node_selector':''},'openshift-infra':{'default_node_selector':''},'logging':{'default_node_selector':''}}) }}"
  21. - role: openshift_serviceaccounts
  22. openshift_serviceaccounts_names:
  23. - router
  24. openshift_serviceaccounts_namespace: default
  25. openshift_serviceaccounts_sccs:
  26. - hostnetwork
  27. when: openshift.common.version_gte_3_2_or_1_2
  28. - role: openshift_serviceaccounts
  29. openshift_serviceaccounts_names:
  30. - router
  31. - registry
  32. openshift_serviceaccounts_namespace: default
  33. openshift_serviceaccounts_sccs:
  34. - privileged
  35. when: not openshift.common.version_gte_3_2_or_1_2
  36. - role: openshift_metrics
  37. when: openshift.hosted.metrics.deploy | bool