initial commit

This commit is contained in:
Juul
2025-05-16 17:37:10 +02:00
commit 00e713e48f
11 changed files with 101 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
- name: Set keylocation for zfs
command: zfs set keylocation=file:///root/zfskey zwembad/pandorica
- name: Create service for loading key
copy:
src: ../files/load-zfs-key.service
dest: /etc/systemd/system/load-zfs-key.service
notify: reload systemd
- name: Enable and start service for key loading
systemd:
name: load-zfs-key.service
enabled: yes
state: started