From 334a2f00fdf43f1ede4e814fdbbd37b5c4fdb4e8 2024-02-28 00:42:32 From: Branko Majic Date: 2024-02-28 00:42:32 Subject: [PATCH] MAR-192: The openssl.cnf hack is Debian 11 Bullseye-specific. --- diff --git a/roles/xmpp_server/molecule/default/prepare.yml b/roles/xmpp_server/molecule/default/prepare.yml index 3d61d4ddfc8793087e93803847836ac4e34d41b8..987ef040ee77548c25998785c13e48eb0ba53218 100644 --- a/roles/xmpp_server/molecule/default/prepare.yml +++ b/roles/xmpp_server/molecule/default/prepare.yml @@ -76,6 +76,10 @@ regexp: "host\\.name\\)" replace: "host.targetname)" +- hosts: bullseye + become: true + tasks: + - name: Enable TLSv1.0+ in global OpenSSL configuration file in order to be able to test the xmpp_server_tls_protocol parameter lineinfile: path: "/etc/ssl/openssl.cnf" @@ -86,10 +90,6 @@ mode: 0644 state: present -- hosts: bullseye - become: true - tasks: - - name: Set-up the hosts file lineinfile: path: /etc/hosts