diff options
-rw-r--r-- | ansible/solace.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/solace.yml b/ansible/solace.yml index af7730f..b3b7eaa 100644 --- a/ansible/solace.yml +++ b/ansible/solace.yml @@ -142,6 +142,19 @@ # owner: liw # group: liw + - name: "install necessary packages to use a Yubikey with LUKS" + apt: + name: + - yubikey-luks + - usbutils + - name: "configure crypttab to use yubikey-luks key script" + crypttab: + name: pv0 + opts: keyscript=/usr/share/yubikey-luks/ykluks-keyscript + state: opts_present + - name: "update initramfs" + shell: | + update-initramfs -u vars: ansible_python_interpreter: /usr/bin/python3 |