2020-03-31 16:32:13 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Build Wordpress sites
|
|
|
|
include_tasks: wordpress.yml
|
|
|
|
loop: "{{ sites }}"
|
2020-05-06 10:11:46 +00:00
|
|
|
loop_control:
|
|
|
|
loop_var: site
|
2020-05-07 06:17:17 +00:00
|
|
|
when: site.type == "wordpress"
|
2020-04-20 13:44:45 +00:00
|
|
|
tags: wordpress
|
2020-03-31 16:32:13 +00:00
|
|
|
|
2020-04-28 09:59:52 +00:00
|
|
|
- name: Build Drupal sites
|
|
|
|
include_tasks: drupal.yml
|
|
|
|
loop: "{{ sites }}"
|
2020-05-06 10:11:46 +00:00
|
|
|
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
|
2020-03-31 16:32:13 +00:00
|
|
|
|
2020-05-06 11:11:30 +00:00
|
|
|
- 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"
|
2020-05-06 11:11:30 +00:00
|
|
|
tags: gitea
|
2020-03-31 16:32:13 +00:00
|
|
|
|
|
|
|
# build an image
|
|
|
|
# do the msmtp bullshit
|
|
|
|
# docker compose
|
|
|
|
# nginx
|
|
|
|
# let's encrypt
|
|
|
|
|
|
|
|
# in another role: deploy the stuff
|