diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-mimas.yml | 26 |
1 files changed, 26 insertions, 0 deletions
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 |