automation/deployer/roles/build/tasks/main.yml
2020-05-06 13:11:30 +02:00

33 lines
No EOL
613 B
YAML

---
- name: Build Wordpress sites
include_tasks: wordpress.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: item.type == "wordpress"
tags: wordpress
- name: Build Drupal sites
include_tasks: drupal.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: item.type == "drupal"
tags: drupal
- name: Build Gitea sites
include_tasks: gitea.yml
loop: "{{ sites }}"
loop_control:
loop_var: site
when: item.type == "gitea"
tags: gitea
# build an image
# do the msmtp bullshit
# docker compose
# nginx
# let's encrypt
# in another role: deploy the stuff