mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2026-02-01 20:04:08 +01:00
After an OS upgrade, the Python version may change but the existing virtualenv at /opt/borgmatic still references the old Python binary. This causes ModuleNotFoundError when trying to run borgmatic. This fix adds checks before venv creation to: 1. Get the system's current Python version 2. Check the Python version in the existing venv (if any) 3. Remove the venv if versions don't match, allowing it to be recreated Fixes #113 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 00_assert.yml | ||
| 01_install.yml | ||
| 02_user_management.yml | ||
| 03_create_key.yml | ||
| 05_configure.yml | ||
| 07_install_timer.yml | ||
| main.yml | ||
| noauto_create_backup_user_and_group.yml | ||
| noauto_create_timer_cron.yml | ||
| noauto_create_timer_systemd.yml | ||
| noauto_install_package.yml | ||
| noauto_install_pip.yml | ||