Add users and ssh service

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2020-07-12 09:50:30 +01:00
commit 077f2ab15f
4 changed files with 54 additions and 0 deletions

14
states/sshd/init.sls Normal file
View File

@ -0,0 +1,14 @@
include:
- users
openssh-client:
pkg.installed:
- version: latest
sshd-service:
service.running:
- name: ssh
- enable: true
- require:
- sls: users
- pkg: openssh-client