summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-07-08 15:05:06 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-07-08 15:05:06 +0200
commit02b84a929462079cae032538be6e9aebab6847ea (patch)
tree59226d83ab3f56f29dad84fcc12f9644067d7c28
parentemc-dist: create lv for cache (diff)
emc-xx: lvm volume for /srv/cache
-rw-r--r--dan/emc-dist.yml7
-rw-r--r--dan/emc-xx.yml7
2 files changed, 7 insertions, 7 deletions
diff --git a/dan/emc-dist.yml b/dan/emc-dist.yml
index 5efdb00a..62c5a1ef 100644
--- a/dan/emc-dist.yml
+++ b/dan/emc-dist.yml
@@ -10,10 +10,3 @@
- role: apt-repo/spreadspace
- role: nginx/base
- role: monitoring/prometheus/exporter
- - role: storage/lvm/volume
- lvm_volume:
- vg: "{{ host_name }}"
- lv: cache
- size: 1G
- fs: ext4
- dest: /srv/cache
diff --git a/dan/emc-xx.yml b/dan/emc-xx.yml
index fd418ad9..6de17b55 100644
--- a/dan/emc-xx.yml
+++ b/dan/emc-xx.yml
@@ -13,3 +13,10 @@
- role: acmetool/base
- role: acmetool/cert
acmetool_cert_name: "{{ host_name }}.{{ host_domain }}"
+ - role: storage/lvm/volume
+ lvm_volume:
+ vg: "{{ host_name }}"
+ lv: cache
+ size: 1536M
+ fs: ext4
+ dest: /srv/cache