summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_project.yml
blob: 71a54ad888a8ca1bf3f13993f43c172bcbc6ee68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
- name: Ensure OpenShift template directory exists
  file: path="{{ kaas_template_path }}" state="directory" mode=0755 owner=root group=root

- name: "Run OC script"
  include_tasks: ocscript.yml
  run_once: true
  when: kaas_project_config.oc is defined

- block:
  - name: Configure storage
    include_tasks: do_storage.yml
    
  - name: Configure SSL keys
    include_tasks: do_keys.yml

  - name: Configure all templates
    include_tasks: templates.yml

  - name: Install Applications
    include_tasks: do_apps.yml
  run_once: true
  when: 
  - kaas_project_config.oc is undefined