19 lines
722 B
YAML
19 lines
722 B
YAML
---
|
|
- name: install dropbear
|
|
apt:
|
|
name: dropbear
|
|
state: present
|
|
|
|
- name: disable dropbear systemd service
|
|
systemd:
|
|
name: dropbear
|
|
enabled: false
|
|
state: stopped
|
|
|
|
- name: add ssh key to authorized keys
|
|
copy:
|
|
dest: /etc/dropbear-initramfs/authorized_keys
|
|
content: |
|
|
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCs0igb6TTxPkKEQ96pk/NEqqWvQH/miJEBAEe1bzHlo5n5ThnGYvVPadfHIwq1ix0IdAfyWoG8duaKVDJAUAFBtegRO7vRBYBYR04V8DE8n66MgDbbLDuu7Kbm4JWMUNg43KwJDzZtSvEKjyh5/u/TT59D1F+toxMfet++jNG03mFa6ANhMTjghbkFHj3eyuiXA/SxZLorhkCFW6Tri3u5FFLGpjaom1dZ5PAcic0+ZOECpgEwTj8FpOzmldjsu8gFxdPYGrqfA1dOxL3OQ6/rB0LfHjwrN9i3DrZzG+RfJxZbgO4/RLQz2sHYM6S6d1MtCcXThozCXSbmpdNdwdPp simon@kipf
|
|
notify: update-initramfs
|