more work, get rid of jail stuff, using vps directly
This commit is contained in:
11
roles/ssh/tasks/main.yaml
Normal file
11
roles/ssh/tasks/main.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: copy config file
|
||||
copy:
|
||||
src: sshd_config
|
||||
dest: "/etc/ssh/"
|
||||
|
||||
- name: restart sshd
|
||||
community.general.sysrc:
|
||||
name: sshd_enable
|
||||
value: "YES"
|
||||
notify: restart sshd
|
||||
Reference in New Issue
Block a user