summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/main.yml
blob: 85110cbf34c4b862ae2959aefd7d87339bc5edad (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: true
#  delegate_to: "{{ groups.masters[0] }}"
  with_items: "{{ (kaas_single_project is defined) | ternary([kaas_single_project], kaas_projects) }}"
  loop_control:
    loop_var: kaas_project
  vars:
    kaas_template_path: "{{ kaas_template_root }}/{{ kaas_project }}"
    kaas_project_path: "{{playbook_dir}}/projects/{{ kaas_project }}"