From d14c07c300c3674c5b931c32d939e9980c709d23 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 20 Sep 2021 15:08:46 +0200 Subject: [PATCH] Bookworm uses netcat-openbsd. --- molecule/default/verify.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index c4c9f36..c64f966 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -7,10 +7,11 @@ vars: _netcat_package: default: nc - Alpine: netcat-openbsd + Alpine: &netcat_openbsd netcat-openbsd Debian: netcat - Suse: netcat-openbsd - netcat_package: "{{ _netcat_package[ansible_os_family] | default(_netcat_package['default']) }}" + Debian-11: *netcat_openbsd + Suse: *netcat_openbsd + netcat_package: "{{ _netcat_package[ansible_os_family ~ '-' ~ ansible_distribution_major_version] | default (_netcat_package[ansible_os_family] | default(_netcat_package['default'])) }}" tasks: - name: install netcat