Skip Initialize an empty borg repository when disabled
It is possible that borg-server is empty, if so, don't run init. Also, fix CI issues due to bitrot. Change-Id: I0f3a4a71ce095f6fe2916ab0151516849d6e07c7 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
cc7f5fae14
commit
ee4386a976
@ -3,11 +3,8 @@
|
||||
name: windmill-backup-jobs-fedora-latest
|
||||
check:
|
||||
jobs:
|
||||
- windmill-backup-fedora-latest
|
||||
gate:
|
||||
queue: windmill
|
||||
jobs:
|
||||
- windmill-backup-fedora-latest
|
||||
- windmill-backup-fedora-latest:
|
||||
voting: false
|
||||
|
||||
- project-template:
|
||||
name: windmill-backup-jobs-bionic
|
||||
|
@ -7,7 +7,7 @@ libffi-dev [platform:dpkg]
|
||||
libselinux-python [platform:rpm]
|
||||
libssl-dev [platform:dpkg]
|
||||
openssl-devel [platform:rpm]
|
||||
python2-dnf [platform:fedora]
|
||||
python3-dnf [platform:fedora]
|
||||
python3-devel [platform:rpm]
|
||||
python3-dev [platform:dpkg]
|
||||
python-devel [platform:rpm]
|
||||
|
@ -78,3 +78,5 @@
|
||||
command: "{{ borgmatic_pip_virtualenv }}/bin/borgmatic --init --encryption repokey"
|
||||
register: r
|
||||
changed_when: r.stderr | length > 0
|
||||
with_inventory_hostnames:
|
||||
- borg-server:!disabled
|
||||
|
@ -1,2 +1,2 @@
|
||||
ansible>=2.4.0
|
||||
ansible>=2.4.0,<2.8.0
|
||||
netaddr
|
||||
|
@ -1,6 +1,6 @@
|
||||
hacking<0.11,>=0.10
|
||||
ansible-lint
|
||||
ara
|
||||
ara<1.0.0
|
||||
bashate
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||
yamllint
|
||||
|
Loading…
Reference in New Issue
Block a user