diff options
| author | Russell Teague <rteague@redhat.com> | 2017-03-14 16:12:29 -0400 | 
|---|---|---|
| committer | Russell Teague <rteague@redhat.com> | 2017-03-17 14:09:53 -0400 | 
| commit | 94251afea2f1f58aabf0ae0f3ca544dd8f1dd368 (patch) | |
| tree | 023dfe7528663bb4aef29e9916244fca35634003 /roles/openshift_hosted/tasks | |
| parent | d86b2700328761c30d4525941804425164126a9d (diff) | |
| download | openshift-94251afea2f1f58aabf0ae0f3ca544dd8f1dd368.tar.gz openshift-94251afea2f1f58aabf0ae0f3ca544dd8f1dd368.tar.bz2 openshift-94251afea2f1f58aabf0ae0f3ca544dd8f1dd368.tar.xz openshift-94251afea2f1f58aabf0ae0f3ca544dd8f1dd368.zip  | |
Moving projects task within openshift_hosted
Diffstat (limited to 'roles/openshift_hosted/tasks')
| -rw-r--r-- | roles/openshift_hosted/tasks/main.yml | 7 | 
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  | 
