mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2026-03-19 02:22:23 +01:00
Test and dependency fixes (#153)
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user