This commit is contained in:
2022-10-27 18:17:00 +02:00
parent d282fe416b
commit 08490e0402
3 changed files with 12 additions and 2 deletions

View File

@@ -22,7 +22,8 @@
path: "/etc/ssh/sshd_config"
line: "Include /etc/ssh/sshd_config.d/*.conf"
state: present
insertbefore: "^Port.*$"
insertbefore: "^#?Port.*$"
notify: restart_sshd
- name: system setup | openssh | copy sshd custom config
tags: openssh,ssh,system,settings