1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2025 by someone <someone@somenet.org>
10 - name: install cryptsetup tools
14 - cryptsetup-initramfs
19 when: cryptsetup_crypttab_names is defined
21 ignore_errors: "{{ignore_online_errors | bool}}"
24 - name: silence systemd for all crypt devices
26 src: "systemd-cryptsetup@DEVICE.service"
27 dest: "/etc/systemd/system/systemd-cryptsetup@{{item}}.service"
32 - "{{cryptsetup_crypttab_names}}"
33 when: cryptsetup_crypttab_names is defined
36 - name: copy cryptroot-initrd script with askpass fallback
39 dest: "/etc/initramfs-tools/scripts/local-top/cryptroot"
43 when: cryptsetup_crypttab_names is defined
44 notify: update-initramfs