summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/main.yml
blob: f1cff024b40c62f5b5bf011bda0a371091dfca9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Provision OpenShift resources & configurations
#  include_tasks: only_templates.yml
  include_tasks: project.yml
  run_once:  "{{ do_subrole in [ 'project', 'apps' ] }}"
  with_items: "{{ (kaas_single_project is defined) | ternary([kaas_single_project], kaas_projects) }}"
  loop_control:
    loop_var: kaas_project
  vars:
    do_subrole: "{{ subrole | default('project') }}"
    kaas_template_path: "{{ kaas_template_root }}/{{ kaas_project }}"
    kaas_project_path: "{{playbook_dir}}/projects/{{ kaas_project }}"