mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-09-22 17:50:50 +02:00
Fix for Rocky 9
This commit is contained in:
parent
70172a2995
commit
b206824a38
@ -14,8 +14,9 @@ platforms:
|
|||||||
image: debian:bookworm
|
image: debian:bookworm
|
||||||
- name: ubuntu-latest
|
- name: ubuntu-latest
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
- name: rockylinux-8
|
# TODO: setup ansible<10 for this
|
||||||
image: rockylinux/rockylinux:8
|
# - name: rockylinux-8
|
||||||
|
# image: rockylinux/rockylinux:8
|
||||||
- name: rockylinux-9
|
- name: rockylinux-9
|
||||||
image: rockylinux/rockylinux:9
|
image: rockylinux/rockylinux:9
|
||||||
provisioner:
|
provisioner:
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
community.general.dnf_config_manager:
|
community.general.dnf_config_manager:
|
||||||
name: crb
|
name: crb
|
||||||
state: enabled
|
state: enabled
|
||||||
when: ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora' and ansible_distribution != 'Rocky'
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
|
- ansible_distribution != 'Fedora'
|
||||||
|
- ansible_distribution != 'Rocky' or ansible_distribution_major_version == "9"
|
||||||
|
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
Loading…
Reference in New Issue
Block a user