diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-12-05 15:03:58 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-12-05 15:04:04 +0100 |
commit | 0c6a920ab7436892cb7fb9908ee0fa07da1f708d (patch) | |
tree | d99104fdd5d38aadd098e748aea5b5bf67a40c05 /chaos-at-home | |
parent | add ch-atlas and sk-2019vm to backup list for ch-epimetheus (diff) |
ch-mimas: create simple http publish host pub.chaos-at-home.org
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 |