Host Setup, User Setup, SSH Configuration

This commit is contained in:
Bill Niblock 2025-06-23 13:10:20 -04:00
parent 78bf4efed1
commit 0402882891
5 changed files with 116 additions and 0 deletions

18
tasks/ssh.yml Normal file
View 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"