From 0c6a920ab7436892cb7fb9908ee0fa07da1f708d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 5 Dec 2022 15:03:58 +0100 Subject: ch-mimas: create simple http publish host pub.chaos-at-home.org --- chaos-at-home/ch-mimas.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'chaos-at-home') diff --git a/chaos-at-home/ch-mimas.yml b/chaos-at-home/ch-mimas.yml index 8aee418f..f5219bc3 100644 --- a/chaos-at-home/ch-mimas.yml +++ b/chaos-at-home/ch-mimas.yml @@ -27,3 +27,29 @@ - role: nginx/base - role: monitoring/prometheus/exporter - role: gitolite/base + tasks: + - name: create zfs volume for pub.chaos-at-home.org + vars: + zfs_volume: + pool: storage + name: pub + properties: + quota: 1G + 'syncoid:sync': 'false' + include_role: + name: storage/zfs/volume + + - name: configure nginx vhost for pub.chaos-at-home.org + vars: + nginx_vhost: + name: pub + template: generic + acme: yes + hostnames: + - pub.chaos-at-home.org + locations: + '/': + root: /srv/storage/pub + autoindex: {} + include_role: + name: nginx/vhost -- cgit v1.2.3