automation/deployer/roles/deploy/tasks/main.yml
2020-09-23 12:45:03 +02:00

42 lines
No EOL
823 B
YAML

---
- 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 NextCloud sites
include_tasks: nextcloud.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "nextcloud"
tags: nextcloud
- name: Deploy Synapse sites
include_tasks: synapse.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "synapse"
tags: synapse
- name: Deploy Wordpress sites
include_tasks: wordpress.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "wordpress"
tags: wordpress