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