Skip to content

Commit

Permalink
fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
terroirman authored and m3nu committed Oct 18, 2024
1 parent 8f52fbe commit ab8dd52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -46,3 +48,5 @@
pip:
name: yamllint
executable: pip3
extra_args: "{{ pip3_extra_args }}"

0 comments on commit ab8dd52

Please sign in to comment.