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

42 lines
823 B
YAML
Raw Normal View History

2020-04-09 15:29:12 +00:00
---
2020-04-28 09:59:52 +00:00
- name: Deploy Drupal sites
2020-05-07 10:47:05 +00:00
include_tasks: drupal.yml
2020-04-28 09:59:52 +00:00
loop: "{{ sites }}"
2020-05-07 06:17:17 +00:00
loop_control:
loop_var: site
when: site.type == "drupal"
tags: drupal
- name: Deploy Gitea sites
2020-05-07 10:47:05 +00:00
include_tasks: gitea.yml
2020-05-07 06:17:17 +00:00
loop: "{{ sites }}"
loop_control:
loop_var: site
when: site.type == "gitea"
2020-05-07 10:47:05 +00:00
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