add openssh-sftp-server on alpine container
This commit is contained in:
parent
042be1c6ea
commit
e56b7e0088
@ -2,7 +2,7 @@
|
||||
- name: install basics
|
||||
connection: local
|
||||
delegate_to: localhost
|
||||
raw: "lxc exec {{ inventory_hostname }} -- /sbin/apk add -U python3 dropbear openssh-client-default wget"
|
||||
raw: "lxc exec {{ inventory_hostname }} -- /sbin/apk add -U python3 dropbear openssh-client-default openssh-sftp-server wget"
|
||||
|
||||
- name: setup ssh
|
||||
include: ssh.yml
|
||||
@ -12,7 +12,7 @@
|
||||
delegate_to: localhost
|
||||
raw: "lxc exec {{ inventory_hostname }} -- rc-update add dropbear"
|
||||
|
||||
- name: enable dropbear
|
||||
- name: start dropbear
|
||||
connection: local
|
||||
delegate_to: localhost
|
||||
raw: "lxc exec {{ inventory_hostname }} -- rc-service dropbear restart"
|
||||
|
Loading…
x
Reference in New Issue
Block a user