Test and dependency fixes (#153)

This commit is contained in:
Manu
2024-10-18 11:35:39 +01:00
committed by GitHub
parent ad163fec68
commit c8a295aa26
10 changed files with 55 additions and 30 deletions

View File

@@ -19,6 +19,17 @@
name: "{{ openssh_package }}"
state: present
- name: Enable EPEL for yamllint
package:
name: epel-release
state: present
when: ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora'
- name: Install yamllint
package:
name: yamllint
state: present
roles:
- role: borgbase.ansible_role_borgbackup
borg_install_method: pip
@@ -42,11 +53,3 @@
- name: users
hostname: database1.example.org
port: 5433
post_tasks:
- name: Install yamllint for checking config file
pip:
name: yamllint
executable: pip3
extra_args: "{{ pip3_extra_args }}"

View File

@@ -10,8 +10,8 @@ platforms:
image: almalinux:9
- name: fedora-latest
image: fedora:latest
- name: debian-bullseye
image: debian:bullseye
- name: debian-bookworm
image: debian:bookworm
- name: ubuntu-latest
image: ubuntu:latest
provisioner: