summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_project.yml
blob: af078cde18e601db2e78c0fa50720ac99a7148aa (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
26
27
28
---
- 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
  vars:
    script: "{{ kaas_project_script }}"
  when: 
  - kaas_project_script != ands_none

- 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_script == ands_none