Refactored independent_

This commit is contained in:
Kevin Veen-Birkenbach 2023-09-02 09:45:26 +02:00
parent 89b4a9bda1
commit c11333be9a
36 changed files with 21 additions and 21 deletions

View File

@ -30,7 +30,7 @@ This software allows to setup the docker following applications:
#### Native Applications #### Native Applications
This software shipts the following tools which are natively setup on the server: This software shipts the following tools which are natively setup on the server:
- [Backups Cleanup](./roles/independent_backups-cleanup-timer/README.md) - Cleans up old backups - [Backups Cleanup](./roles/backups-cleanup-timer/README.md) - Cleans up old backups
- [Btrfs Health Check](./roles/native-btrfs-health-check/README.md) - Checks the health of Btrfs file systems - [Btrfs Health Check](./roles/native-btrfs-health-check/README.md) - Checks the health of Btrfs file systems
- [Docker Health Check](./roles/native-docker-health-check/) - Checks the health of docker containers - [Docker Health Check](./roles/native-docker-health-check/) - Checks the health of docker containers
- [Docker Reverse Proxy](./roles/native-docker-reverse-proxy/README.md) - Docker Reverse Proxy Solution - [Docker Reverse Proxy](./roles/native-docker-reverse-proxy/README.md) - Docker Reverse Proxy Solution

View File

@ -3,7 +3,7 @@
hosts: all hosts: all
become: true become: true
roles: roles:
- independent_system-update - system-update
- name: servers host setup - name: servers host setup
hosts: servers hosts: servers
@ -20,7 +20,7 @@
hosts: wireguard_server hosts: wireguard_server
become: true become: true
roles: roles:
- independent_application-wireguard - application-wireguard
- name: setup wireguard client behind firewall\nat - name: setup wireguard client behind firewall\nat
hosts: wireguard_behind_firewall hosts: wireguard_behind_firewall
@ -313,4 +313,4 @@
hosts: backup_to_usb hosts: backup_to_usb
become: true become: true
roles: roles:
- independent_backup-to-usb - backup-to-usb

View File

@ -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. This Ansible role automates the process of performing backups to a swappable USB device.

View File

@ -0,0 +1,3 @@
---
dependencies:
- role: backups-cleanup-service

View File

@ -1,4 +1,4 @@
# role independent_backups-cleanup-timer # role backups-cleanup-timer
Cleans up old backups Cleans up old backups

View File

@ -0,0 +1,3 @@
# role backups-cleanup-timer
Timer for cleaning up old backups

View File

@ -0,0 +1,2 @@
dependencies:
- backups-cleanup-service

View File

@ -1,2 +1,2 @@
dependencies: dependencies:
- independent_application-wireguard - application-wireguard

View File

@ -1,3 +0,0 @@
---
dependencies:
- role: independent_backups-cleanup-service

View File

@ -1,3 +0,0 @@
# role independent_backups-cleanup-timer
Timer for cleaning up old backups

View File

@ -1,2 +0,0 @@
dependencies:
- independent_backups-cleanup-service

View File

@ -1,3 +0,0 @@
dependencies:
- { role: independent_system-pacman, when: ansible_distribution == 'Archlinux' }
- { role: independent_system-apt-update, when: ansible_distribution == "Debian" }

View File

@ -1,4 +1,4 @@
dependencies: dependencies:
- native-git - native-git
- systemd_notifier - systemd_notifier
- independent_backups-cleanup-timer - backups-cleanup-timer

View File

@ -1,3 +1,3 @@
dependencies: dependencies:
- native-backups-provider-user - native-backups-provider-user
- independent_backups-cleanup-timer - backups-cleanup-timer

View File

@ -1,4 +1,4 @@
# role independent_system-apt-update # role system-apt-update
This role updates the packages This role updates the packages
# upgrade # upgrade

View File

@ -0,0 +1,3 @@
dependencies:
- { role: system-pacman, when: ansible_distribution == 'Archlinux' }
- { role: system-apt-update, when: ansible_distribution == "Debian" }