summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_hosted/tasks/main.yml')
-rw-r--r--roles/openshift_hosted/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/main.yml b/roles/openshift_hosted/tasks/main.yml
index fe254f72d..6efe2f63c 100644
--- a/roles/openshift_hosted/tasks/main.yml
+++ b/roles/openshift_hosted/tasks/main.yml
@@ -1,4 +1,11 @@
---
+- name: Create projects
+ oc_project:
+ name: "{{ item.key }}"
+ node_selector:
+ - "{{ item.value.default_node_selector }}"
+ with_dict: "{{ openshift_projects }}"
+
- include: router/router.yml
when: openshift_hosted_manage_router | default(true) | bool