summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/main.yml
blob: fed0525f950c36e2f5d9f5c72edc3756926ba924 (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: "{{ kaas_subrole | default(subrole | default('project')) }}"
    kaas_template_path: "{{ kaas_template_root }}/{{ kaas_project }}"
    kaas_project_path: "{{playbook_dir}}/projects/{{ kaas_project }}"