initial commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user