summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mimas.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-11-17 23:45:52 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-11-17 23:45:52 +0100
commit2517710d221fba84b3fda973e3de92e481e7412a (patch)
tree5a1f17f7f779bebd2a5b7f94da46277ba10621ec /chaos-at-home/ch-mimas.yml
parentfix prometheus alert for git-fsck (diff)
ch-mimas: move git repos to zfs and prepare for remote backups
Diffstat (limited to 'chaos-at-home/ch-mimas.yml')
-rw-r--r--chaos-at-home/ch-mimas.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chaos-at-home/ch-mimas.yml b/chaos-at-home/ch-mimas.yml
index 837e3d15..178f9093 100644
--- a/chaos-at-home/ch-mimas.yml
+++ b/chaos-at-home/ch-mimas.yml
@@ -7,10 +7,18 @@
- role: core/sshd/base
- role: core/zsh
- role: core/ntp
+ post_tasks:
+ - name: create logical volume for storage zfs
+ lvol:
+ vg: "{{ host_name }}"
+ lv: storage
+ size: 20G
- name: Payload Setup
hosts: ch-mimas
roles:
+ - role: storage/zfs/pools
+ - role: storage/zfs/sanoid
- role: network/bind
- role: acmetool/base
- role: apt-repo/spreadspace