33 lines
656 B
YAML
33 lines
656 B
YAML
---
|
|
|
|
- name: Build Wordpress sites
|
|
include_tasks: wordpress.yml
|
|
loop: "{{ sites }}"
|
|
loop_control:
|
|
loop_var: site
|
|
when: site.type == "wordpress"
|
|
tags: wordpress
|
|
|
|
- name: Build Drupal sites
|
|
include_tasks: drupal.yml
|
|
loop: "{{ sites }}"
|
|
loop_control:
|
|
loop_var: site
|
|
when: site.type == "drupal"
|
|
tags: drupal
|
|
|
|
- name: Build Gitea sites
|
|
include_tasks: gitea.yml
|
|
loop: "{{ sites }}"
|
|
loop_control:
|
|
loop_var: site
|
|
when: site.type == "gitea"
|
|
tags: gitea
|
|
|
|
- name: Build Synapse sites
|
|
include_tasks: synapse.yml
|
|
loop: "{{ sites }}"
|
|
loop_control:
|
|
loop_var: site
|
|
when: site.type == "synapse"
|
|
tags: synapse
|