summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_apps.yml
blob: 6738b7f88d3dc359bc4bdcce3a4d3128684afd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- name: "Process KaaS apps"
  include_tasks: "template.yml"
  run_once: true
  with_items: "{{ kaas_project_apps }}"
  loop_control:
    loop_var: appname
  when: 
    - app.provision | default(true)
    - (ands_configure_app == ands_none) or (app.name == ands_configure_app)
  vars:
    app: "{{ kaas_project_config[appname] }}"
    name: "{{ app.name | default((app.pods.keys() | list)[0]) }}"
    instantiate: "{{ app.instantiate | default(false) }}"
    load: "{{ app.load | default(false) }}"
    pods: "{{ app.pods }}"
    tmpl_name: "50-kaas-pods.yml.j2"