Initial Commit

This commit is contained in:
2021-12-11 22:46:32 +01:00
commit 8354baa32f
47 changed files with 1283 additions and 0 deletions

16
roles/sshd/tasks/main.yml Normal file
View File

@ -0,0 +1,16 @@
---
- name: install openssh
yum:
name: openssh
state: present
- name: configure sshd
template:
src: sshd_config.j2
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: 0644
validate: '/usr/sbin/sshd -t -f %s'
notify:
- restart sshd