Mostly complete, still needs cleanup
This commit is contained in:
parent
a7eaa7dbfb
commit
e17f84ad8a
18 changed files with 359 additions and 49 deletions
11
roles/ssh/tasks/main.yml
Normal file
11
roles/ssh/tasks/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
|
||||
- name: Disable SSH password auth
|
||||
template:
|
||||
src: sshd_config.j2
|
||||
dest: /etc/ssh/sshd_config
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: reload sshd
|
||||
become: yes
|
Loading…
Add table
Add a link
Reference in a new issue