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

26 lines
489 B
YAML
Raw Normal View History

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