From ab8dd529b89a374496ddcbdebb809ca011c7d2a5 Mon Sep 17 00:00:00 2001 From: "jerome.gagnon" Date: Thu, 28 Sep 2023 19:22:22 +0000 Subject: [PATCH] fixes tests --- molecule/default/converge.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 394383f..b34299f 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -5,11 +5,13 @@ - name: Set ssh server package name for non-Archlinux ansible_os_family set_fact: openssh_package: "openssh-server" + pip3_extra_args: "" when: ansible_os_family != "Archlinux" - - name: Set ssh server package name for Archlinux ansible_os_family + - name: Set ssh server package name and pip3 argument for Archlinux ansible_os_family set_fact: openssh_package: "openssh" + pip3_extra_args: "--break-system-packages" when: ansible_os_family == "Archlinux" - name: Install openssh @@ -46,3 +48,5 @@ pip: name: yamllint executable: pip3 + extra_args: "{{ pip3_extra_args }}" +