1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
10 - name: install cryptsetup tools
14 - cryptsetup-initramfs
18 when: cryptsetup_devices is defined
20 ignore_errors: "{{ignore_online_errors | bool}}"
23 - name: silence systemd for all crypt devices
25 src: "systemd-cryptsetup@DEVICE.service"
26 dest: "/etc/systemd/system/systemd-cryptsetup@{{item}}.service"
31 - "{{cryptsetup_devices}}"
32 when: cryptsetup_devices is defined
35 - name: copy cryptroot-initrd script with askpass fallback
38 dest: "/etc/initramfs-tools/scripts/local-top/cryptroot"
42 when: cryptsetup_devices is defined
43 notify: update-initramfs