aboutsummaryrefslogtreecommitdiffstats
path: root/molecule/default/molecule.yml
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-11-03 19:45:20 +0100
committerColin Wilk <colin.wilk@tum.de>2023-11-04 14:02:38 +0100
commit50a2795c3a6c72203262400db5029f5afdf1d49c (patch)
treedb1476895f9e0a4f1ed7c393c5b58e5d4a85d862 /molecule/default/molecule.yml
parentabc40a024ea6ee1d2e3db642b56c6b27a603bb2f (diff)
downloadansible-role-borgbackup-50a2795c3a6c72203262400db5029f5afdf1d49c.tar.gz
ansible-role-borgbackup-50a2795c3a6c72203262400db5029f5afdf1d49c.zip
Migrate role from cron to systemd
Systemd gives us the ability to monitor backup job status using existing monitoring solutions (node exporter) and allows us greater control over the scheduling of the backup jobs. This introduces a breaking change that requires users to manually remove the old repositories from the clients and redeploying them with the role. You will have to remove the Cron job that was created by the Ansible script, everything else will be overwritten with a run from the newer version. - name: Remove backup cron jobs ansible.builtin.cron: name: BORG (Application level backups) state: absent become: true - name: Remove env for backup cron job ansible.builtin.cron: name: BORG_PASSPHRASE env: true state: absent become: true Performing manual migrations on the Borg server is not required. We now additionally support multiple Borg repositories per client host using the `borg_backup_argument` variable. Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'molecule/default/molecule.yml')
-rw-r--r--molecule/default/molecule.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index 3c0dfef..fc7a266 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -13,6 +13,7 @@ platforms:
image: ${MOLECULE_DISTRO_CLIENT:-debian:10}
dockerfile: Dockerfile.j2
pre_build_image: false
+ privileged: true
docker_networks:
- name: molecule-container-net
driver_options:
@@ -25,6 +26,7 @@ platforms:
image: ${MOLECULE_DISTRO_SERVER:-debian:10}
dockerfile: Dockerfile.j2
pre_build_image: false
+ privileged: true
networks:
- name: molecule-container-net