ansible/roles/sshd/tasks/alpine.yml

16 lines
267 B
YAML
Raw Normal View History

2022-08-30 12:31:20 +02:00
- name: commit ssh public keys with lbu
lbu:
include:
- /home/rilla/.ssh/authorized_keys
when: ssh_keys.changed
- name: install openssh
apk:
name: openssh
- name: enable sshd service
service:
name: sshd
enabled: yes
state: started