ansible-role-borgbackup icon indicating copy to clipboard operation
ansible-role-borgbackup copied to clipboard

Oracle 9 - Ensure the crb repository is enabled for RedHat (needed for xxhash)

Open mnestor opened this issue 10 months ago • 1 comments

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'

mnestor avatar Feb 13 '25 15:02 mnestor

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

m3nu avatar Feb 13 '25 18:02 m3nu