Skip to content
Snippets Groups Projects
Commit 3615a84e authored by Thomas Schneider's avatar Thomas Schneider
Browse files

ssh-server: Do not overwrite sshd_config on Debian ≥ bookworm

Configure everything via drop-ins to reduce config file noise.  It is expected
to revert the main sshd_config to distribution defaults when upgrading to
bookworm.
parent 0fd16aea
No related branches found
No related tags found
1 merge request!31ssh-server: Do not overwrite sshd_config on Debian ≥ bookworm
Pipeline #7835 passed
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
mode: '0644' mode: '0644'
backup: true backup: true
validate: '/usr/sbin/sshd -t -f %s' validate: '/usr/sbin/sshd -t -f %s'
when: ansible_distribution_major_version|int(default=99) > 10 when:
- ansible_distribution_major_version|int(default=99) > 10
- ansible_distribution_major_version|int(default=99) < 12
notify: notify:
- restart sshd - restart sshd
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment