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

33 lines
613 B
YAML
Raw Normal View History

---
- name: Build Wordpress sites
include_tasks: wordpress.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
2020-05-07 06:17:17 +00:00
when: site.type == "wordpress"
tags: wordpress
2020-04-28 09:59:52 +00:00
- name: Build Drupal sites
include_tasks: drupal.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
2020-05-07 06:17:17 +00:00
when: site.type == "drupal"
2020-04-28 09:59:52 +00:00
tags: drupal
- name: Build Gitea sites
include_tasks: gitea.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
2020-05-07 06:17:17 +00:00
when: site.type == "gitea"
tags: gitea
# build an image
# do the msmtp bullshit
# docker compose
# nginx
# let's encrypt
# in another role: deploy the stuff