Skip to content
Snippets Groups Projects
Commit 23b4f7aa authored by ale's avatar ale
Browse files

Fix previous commit

parent 266e0aa0
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,11 @@
- set_fact:
dropbear_config_dir: "/etc/dropbear-initramfs"
dropbear_config_file: "config"
when: "float_debian_dist in ('buster', 'bullseye')"
- set_fact:
dropbear_config_dir: "/etc/dropbear/initramfs"
dropbear_config_file: "dropbear.conf"
when: "float_debian_dist not in ('buster', 'bullseye')"
# Ensure that dropbear-initramfs is configured to allow us to log in.
......@@ -16,7 +18,7 @@
- name: Configure dropbear-initramfs
copy:
dest: "{{ dropbear_config_dir }}/config"
dest: "{{ dropbear_config_dir }}/{{ dropbear_config_file }}"
content: "IFDOWN=none\n"
notify: update-initramfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment