summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-17 17:22:19 -0500
committerGitHub <noreply@github.com>2017-03-17 17:22:19 -0500
commitcd56448dae931dc5c270f8090b7ba25cc6833805 (patch)
tree56117b1a1ec98487a65024e1ba3aabe78279e310 /roles/openshift_hosted/tasks
parent3e8d87beaa2adc2d6f8a9e1bcc0c6cba1090acbe (diff)
parent94251afea2f1f58aabf0ae0f3ca544dd8f1dd368 (diff)
downloadopenshift-cd56448dae931dc5c270f8090b7ba25cc6833805.tar.gz
openshift-cd56448dae931dc5c270f8090b7ba25cc6833805.tar.bz2
openshift-cd56448dae931dc5c270f8090b7ba25cc6833805.tar.xz
openshift-cd56448dae931dc5c270f8090b7ba25cc6833805.zip
Merge pull request #3656 from mtnbikenc/refactor-openshift_projects
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_hosted/tasks')
-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