summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_project.yml
blob: e64e9e3de026e14240514c3564d93d7f535c82b1 (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
---
- 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 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_script is undefined