mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored independent_
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# independent_backup-to-usb
|
||||
# backup-to-usb
|
||||
|
||||
This Ansible role automates the process of performing backups to a swappable USB device.
|
||||
|
3
roles/backup-to-usb/meta/main.yml
Normal file
3
roles/backup-to-usb/meta/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
dependencies:
|
||||
- role: backups-cleanup-service
|
@@ -1,4 +1,4 @@
|
||||
# role independent_backups-cleanup-timer
|
||||
# role backups-cleanup-timer
|
||||
|
||||
Cleans up old backups
|
||||
|
3
roles/backups-cleanup-timer/README.md
Normal file
3
roles/backups-cleanup-timer/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# role backups-cleanup-timer
|
||||
|
||||
Timer for cleaning up old backups
|
2
roles/backups-cleanup-timer/meta/main.yml
Normal file
2
roles/backups-cleanup-timer/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- backups-cleanup-service
|
@@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- independent_application-wireguard
|
||||
- application-wireguard
|
@@ -1,3 +0,0 @@
|
||||
---
|
||||
dependencies:
|
||||
- role: independent_backups-cleanup-service
|
@@ -1,3 +0,0 @@
|
||||
# role independent_backups-cleanup-timer
|
||||
|
||||
Timer for cleaning up old backups
|
@@ -1,2 +0,0 @@
|
||||
dependencies:
|
||||
- independent_backups-cleanup-service
|
@@ -1,3 +0,0 @@
|
||||
dependencies:
|
||||
- { role: independent_system-pacman, when: ansible_distribution == 'Archlinux' }
|
||||
- { role: independent_system-apt-update, when: ansible_distribution == "Debian" }
|
@@ -1,4 +1,4 @@
|
||||
dependencies:
|
||||
- native-git
|
||||
- systemd_notifier
|
||||
- independent_backups-cleanup-timer
|
||||
- backups-cleanup-timer
|
||||
|
@@ -1,3 +1,3 @@
|
||||
dependencies:
|
||||
- native-backups-provider-user
|
||||
- independent_backups-cleanup-timer
|
||||
- backups-cleanup-timer
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# role independent_system-apt-update
|
||||
# role system-apt-update
|
||||
This role updates the packages
|
||||
|
||||
# upgrade
|
3
roles/system-update/meta/main.yml
Normal file
3
roles/system-update/meta/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- { role: system-pacman, when: ansible_distribution == 'Archlinux' }
|
||||
- { role: system-apt-update, when: ansible_distribution == "Debian" }
|
Reference in New Issue
Block a user