add sshd role

This commit is contained in:
Sergey Malyuk
2025-12-18 11:39:09 +03:00
parent 23d0618c02
commit 30945d5a2f
11 changed files with 207 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
- name: "Install | install OpenSSH (RHEL flavours)"
when: ansible_os_family == "RHEL"
ansible.builtin.dnf:
name: openssh
state: installed
- name: "Install | Install OpenSSH (Debian flavours)"
when: ansible_os_family == "Debian"
ansible.builtin.apt:
name: openssh-server
state: present