feat: add basic alpine support
This commit is contained in:
parent
72ac5e0d40
commit
5dfc4a5f21
4 changed files with 51 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue