From ad5b723f3dd5408ff181539da72dafef50aaacb1 Mon Sep 17 00:00:00 2001 From: zxyz <14958508+zxyz@users.noreply.github.com> Date: Fri, 28 Jul 2023 19:47:32 +0200 Subject: [PATCH] adjust goss test for bookworm - ssh group name changed --- templates/test_sshd.yml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/test_sshd.yml.j2 b/templates/test_sshd.yml.j2 index 750d972..980df60 100644 --- a/templates/test_sshd.yml.j2 +++ b/templates/test_sshd.yml.j2 @@ -40,7 +40,11 @@ service: enabled: true running: true group: +{% if ansible_distribution_version | int >= 12 and ansible_distribution == 'Debian' %} + _ssh: +{% else %} ssh: +{% endif %} exists: true process: sshd: