mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-12-21 19:09:37 +01:00
fixes tests
This commit is contained in:
parent
8f52fbe8e5
commit
ab8dd529b8
@ -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 }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user