aboutsummaryrefslogtreecommitdiffstats
path: root/molecule/default/molecule.yml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-09-01 21:01:05 +0200
committerColin Wilk <colin@wilk.cx>2026-09-01 21:43:57 +0200
commit9c7586c7c3a235672ec6490d1a8bc44a222ce5d1 (patch)
tree8b36c5ee3105da2ae769c0d9cd96683d213c949d /molecule/default/molecule.yml
parentfa137a92e1084a07608a4008ec0cb891baa76774 (diff)
downloadansible-role-borgbackup-9c7586c7c3a235672ec6490d1a8bc44a222ce5d1.tar.gz
ansible-role-borgbackup-9c7586c7c3a235672ec6490d1a8bc44a222ce5d1.zip
Add borg prune and compact jobs
Run repository retention either after a successful backup or from a dedicated systemd timer. Clean up script generation with templates and expand molecule test coverage. BREAKING CHANGE: Aggregate backup scripts are no longer managed, and state=preset now requires at least one readable included directory.
Diffstat (limited to 'molecule/default/molecule.yml')
-rw-r--r--molecule/default/molecule.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index 0ea5c96..68dcf4a 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -51,6 +51,22 @@ platforms:
networks:
- name: molecule-container-net
+ - name: borg-client-transition
+ image: ${MOLECULE_DISTRO_CLIENT:-debian:12}
+ dockerfile: ../Dockerfile.j2
+ pre_build_image: false
+ privileged: true
+ networks:
+ - name: molecule-container-net
+
+ - name: borg-client-validation
+ image: ${MOLECULE_DISTRO_CLIENT:-debian:12}
+ dockerfile: ../Dockerfile.j2
+ pre_build_image: false
+ privileged: true
+ networks:
+ - name: molecule-container-net
+
- name: borg-server
image: ${MOLECULE_DISTRO_SERVER:-debian:12}
dockerfile: ../Dockerfile.j2
@@ -71,6 +87,7 @@ provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
+ side_effect: side_effect.yml
verifier:
name: testinfra