Host Setup, User Setup, SSH Configuration
This commit is contained in:
parent
78bf4efed1
commit
0402882891
5 changed files with 116 additions and 0 deletions
18
tasks/ssh.yml
Normal file
18
tasks/ssh.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# NibTech::Host::Tasks::ssh
|
||||
# This role does host setup
|
||||
# This task configures SSH
|
||||
# Role repository:
|
||||
---
|
||||
|
||||
- name: Install SSH
|
||||
ansible.builtin.package:
|
||||
name: "openssh"
|
||||
state: "present"
|
||||
|
||||
- name: Add Custom SSHD Configuration File
|
||||
ansible.builtin.copy:
|
||||
src: "nibtech-sshd.conf"
|
||||
dest: "/etc/ssh/sshd_config.d/90-nibtech.conf"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0600"
|
Loading…
Add table
Add a link
Reference in a new issue