borgbase / ansible-role-borgbackup

Ansible role to set up Borg and Borgmatic
MIT License
221 stars 98 forks source link

Fedora does not require EPEL repos #124

Closed agross closed 1 year ago

agross commented 1 year ago

When run against Fedora 37:

TASK [m3nu.ansible_role_borgbackup : Ensure EPEL is enabled] ********************************************************************************************
fatal: [router]: FAILED! => changed=false
  assertion: '''epel-release'' in ansible_facts.packages'
  evaluated_to: false
  msg: Need EPEL repo to install via distro package.
$ uname -a
Linux router 6.2.10-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr  6 23:30:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ dnf info borgmatic
Last metadata expiration check: 0:18:53 ago on Tue 18 Apr 2023 08:15:07 PM CEST.
Installed Packages
Name         : borgmatic
Version      : 1.7.11
Release      : 1.fc37
Architecture : noarch
Size         : 896 k
Source       : borgmatic-1.7.11-1.fc37.src.rpm
...
m3nu commented 1 year ago

Already solved here https://github.com/borgbase/ansible-role-borgbackup/pull/111

But I missed merging it.

agross commented 1 year ago

I missed looking it up - only searched issues!

I think the PR would be great addition to your role :-)

agross commented 1 year ago

Closed by #111