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
|
name: windmill-backup-jobs-fedora-latest
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- windmill-backup-fedora-latest
|
- windmill-backup-fedora-latest:
|
||||||
gate:
|
voting: false
|
||||||
queue: windmill
|
|
||||||
jobs:
|
|
||||||
- windmill-backup-fedora-latest
|
|
||||||
|
|
||||||
- project-template:
|
- project-template:
|
||||||
name: windmill-backup-jobs-bionic
|
name: windmill-backup-jobs-bionic
|
||||||
|
@ -7,7 +7,7 @@ libffi-dev [platform:dpkg]
|
|||||||
libselinux-python [platform:rpm]
|
libselinux-python [platform:rpm]
|
||||||
libssl-dev [platform:dpkg]
|
libssl-dev [platform:dpkg]
|
||||||
openssl-devel [platform:rpm]
|
openssl-devel [platform:rpm]
|
||||||
python2-dnf [platform:fedora]
|
python3-dnf [platform:fedora]
|
||||||
python3-devel [platform:rpm]
|
python3-devel [platform:rpm]
|
||||||
python3-dev [platform:dpkg]
|
python3-dev [platform:dpkg]
|
||||||
python-devel [platform:rpm]
|
python-devel [platform:rpm]
|
||||||
|
@ -78,3 +78,5 @@
|
|||||||
command: "{{ borgmatic_pip_virtualenv }}/bin/borgmatic --init --encryption repokey"
|
command: "{{ borgmatic_pip_virtualenv }}/bin/borgmatic --init --encryption repokey"
|
||||||
register: r
|
register: r
|
||||||
changed_when: r.stderr | length > 0
|
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
|
netaddr
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
hacking<0.11,>=0.10
|
hacking<0.11,>=0.10
|
||||||
ansible-lint
|
ansible-lint
|
||||||
ara
|
ara<1.0.0
|
||||||
bashate
|
bashate
|
||||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||||
yamllint
|
yamllint
|
||||||
|
Loading…
Reference in New Issue
Block a user