summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-epimetheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'chaos-at-home/ch-epimetheus.yml')
-rw-r--r--chaos-at-home/ch-epimetheus.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/chaos-at-home/ch-epimetheus.yml b/chaos-at-home/ch-epimetheus.yml
index d091ffc5..6d5046b3 100644
--- a/chaos-at-home/ch-epimetheus.yml
+++ b/chaos-at-home/ch-epimetheus.yml
@@ -14,8 +14,8 @@
- role: apt-repo/spreadspace
- role: nginx/base
- role: monitoring/prometheus/exporter
- - role: storage/luks/volumes
- - role: storage/zfs/pools
+ - role: storage/luks/base
+ - role: storage/zfs/base
- role: storage/zfs/sanoid
- role: storage/zfs/syncoid
post_tasks:
@@ -27,7 +27,7 @@
#!/bin/bash
set -e
- {% for name, volume in luks_volumes.items() %}
+ {% for name, volume in luks_devices.items() %}
echo -e "opening crypto volume: \033[1;37m{{ name }}\033[0m"
cryptsetup luksOpen '{{ volume.device }}' '{{ name }}'
{% endfor %}
@@ -45,7 +45,7 @@
content: |
#!/bin/bash
{% set disk_variables = [] %}
- {% for name,volume in luks_volumes.items() %}
+ {% for name,volume in luks_devices.items() %}
disk_{{ name | replace('-', '_') }}=$(basename $(realpath '{{ volume.device }}'))
{{ disk_variables.append('$disk_'+(name | replace('-', '_'))) -}}
{% endfor %}