automation/deployer/roles/deploy/tasks/main.yml

34 lines
No EOL
652 B
YAML

---
- name: Deploy Wordpress sites
include_tasks: wordpress.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "wordpress"
tags: wordpress
- name: Deploy Drupal sites
include_tasks: drupal.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "drupal"
tags: drupal
- name: Deploy Gitea sites
include_tasks: gitea.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "gitea"
tags: gitea
- name: Deploy Synapse sites
include_tasks: synapse.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "synapse"
tags: synapse