ansible-role-borgbackup
ansible-role-borgbackup copied to clipboard
Oracle 9 - Ensure the crb repository is enabled for RedHat (needed for xxhash)
Name change for crb in OL9? https://github.com/borgbase/ansible-role-borgbackup/blob/master/tasks/noauto_install_pip.yml#L6
- name: Ensure the crb repository is enabled for RedHat (needed for xxhash)
community.general.dnf_config_manager:
name: crb
state: enabled
when: ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora'
Error: No matching repo to modify: crb.
Fails with not found. It seems in OL9 it needs to be
- name: Ensure the crb repository is enabled for RedHat (needed for xxhash)
community.general.dnf_config_manager:
name: ol9_codeready_builder
state: enabled
when: ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora'
Thanks for the hint. Will see to update this.
As a workaround, you install from the distro package until it's fixed. This won't need xxhash installed.
borg_install_method: package