Skip to content
Snippets Groups Projects
Verified Commit 1816a929 authored by Julian's avatar Julian
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
- name: update initramfs
ansible.builtin.command: update-initramfs -u
- name: install dropbear-initramfs
apt:
pkg:
- name: write config file for dropbear-initramfs
notify: update initramfs
template:
src: config.j2
dest: /etc/dropbear-initramfs/config
- name: write authorized_keys file for dropbear-initramfs
notify: update initramfs
template:
src: authorized_keys.j2
dest: /etc/dropbear-initramfs/authorized_keys
# {{ ansible_managed }}
{% for name, keys in admin_ssh_keys.items() %}
#{{ name }}
{{ keys }}
{% endfor %}
# {{ ansible_managed }}
#
# Command line options to pass to dropbear(8)
#
# -s -> disable password login
DROPBEAR_OPTIONS="-s"
#
# On local (non-NFS) mounts, interfaces matching this pattern are
# brought down before exiting the ramdisk to avoid dirty network
# configuration in the normal kernel.
# The special value 'none' keeps all interfaces up and preserves routing
# tables and addresses.
#
#IFDOWN=*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment