feat: add basic alpine support

This commit is contained in:
Simon Cornet 2025-10-24 20:06:42 +02:00
commit 5dfc4a5f21
4 changed files with 51 additions and 1 deletions

View file

@ -9,4 +9,17 @@
group: "root"
mode: "0644"
notify: "restart ssh"
when: 'ansible_os_family == "Debian"'
tags: "sshd"
# configure sshd
- name: "config - sshd"
ansible.builtin.template:
src: "templates/sshd/sshd_config.j2"
dest: "/etc/ssh/sshd_config"
owner: "root"
group: "root"
mode: "0644"
notify: "restart ssh alpine"
when: 'ansible_os_family == "Alpine"'
tags: "sshd"