summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks/create_projects.yml
blob: 1b25d0c641f598c2b75cb1dfc20153fe3f26cd75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Create default projects
  oc_project:
    name: "{{ item.key }}"
    node_selector:
    - "{{ item.value.default_node_selector }}"
  with_dict: "{{ openshift_default_projects }}"

- name: Create additional projects
  oc_project:
    name: "{{ item.key }}"
    node_selector:
    - "{{ item.value.default_node_selector }}"
  with_dict: "{{ openshift_additional_projects }}"