add unlock tasks

master
Michael Wilson 3 years ago
parent be3de76971
commit bf762fed09
  1. 7
      linux/unlock_initramfs/tasks/main.yml

@ -0,0 +1,7 @@
- name: test if disk is locked
raw: "[[ -x /usr/bin/cryptroot-unlock ]]"
notify: unlock_disk
ignore_errors: yes
- name: flush handlers if disk is locked
meta: flush_handlers
Loading…
Cancel
Save