joenyland.dropbear_initramfs
joenyland.dropbear_initramfs
This role installs and sets up dropbear-initramfs.
Requirements
No special requirements.
Role Variables
dropbear_initramfs_ssh_authorized_keys
This variable holds the keys that will grant access to dropbear in this format.
dropbear_initramfs_options
This variable is used to set the DROPBEAR_OPTIONS key in the file located at /etc/dropbear-initramfs/config.
For instance, if you want the zfsunlock command to run automatically in initramfs, you can set:
dropbear_initramfs_options: '-c /usr/bin/zfsunlock'
This will create the following line in /etc/dropbear-initramfs/config:
DROPBEAR_OPTIONS='-c /usr/bin/zfsunlock'
Dependencies
No dependencies.
Example Playbook
Here's how you can use this role in a playbook:
- hosts: server
roles:
- joenyland.dropbear_initramfs
License
MIT License
Author Information
Created with love by Joe Nyland
Informazioni sul progetto
Installs dropbear-initramfs and configures it
Installa
ansible-galaxy install joenyland.dropbear_initramfsLicenza
Unknown
Download
2.1k
Proprietario
