aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix correct branch in READMEv1.0.2Colin Wilk2023-11-261-1/+1
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Fix new galaxy meta schemaColin Wilk2023-11-261-1/+0
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add pre-commit actionv1.0.1Colin Wilk2023-11-261-0/+12
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add release actionv1.0.0Colin Wilk2023-11-261-0/+34
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add proper variables docs to READMEColin Wilk2023-11-261-31/+91
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Migrate role from cron to systemdColin Wilk2023-11-0412-71/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Refactor failed_when condition into condition listColin Wilk2023-05-241-3/+3
| | | | | | | Change single logic condition with `and` string into two logic conditions in a condition list. Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add ansible-lint configurationColin Wilk2023-05-241-5/+72
| | | | | | | The configuration is still compliant with the current source but will be enforced from now on. Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add YAMLLint rulesColin Wilk2023-05-2410-42/+96
| | | | | | | | | | | | | | | Fix linting errors that came up with the new rules Main changes: * Enforce YAML document start headers * Enforce spacing with commas, colons and hyphens * Enforce indentation * Enforce use of quotes only then required * Enforce use of single quotes over double quotes * Enforce use of true/false over yes/no and derivatives * [..] Other minor rules that were already followed Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* initColin Wilk2023-05-2416-0/+779
Signed-off-by: Colin Wilk <colin.wilk@tum.de>