fix role and ansible-lint errors

This commit is contained in:
Sergey Malyuk
2025-12-18 11:54:32 +03:00
parent 2c4b30314b
commit 14bcc89e5d
7 changed files with 25 additions and 14 deletions

View File

@@ -1,4 +1,13 @@
---
# next task requires this directory to exist for sshd -t flag
- name: Ensure /run/sshd exists
ansible.builtin.file:
path: /run/sshd
state: directory
owner: root
group: root
mode: '0755'
# NOTE: order of preference for openssh-server ed25519 -> rsa
- name: "Algorithms | enable ed25519 authentication algorithm"
notify: Restart sshd