mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
Refactored independent_
This commit is contained in:
parent
2f33cadfe5
commit
1036ad5045
@ -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
|
||||||
|
@ -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
|
@ -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.
|
||||||
|
|
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
|
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:
|
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:
|
dependencies:
|
||||||
- native-git
|
- native-git
|
||||||
- systemd_notifier
|
- systemd_notifier
|
||||||
- independent_backups-cleanup-timer
|
- backups-cleanup-timer
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- native-backups-provider-user
|
- 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
|
This role updates the packages
|
||||||
|
|
||||||
# upgrade
|
# 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" }
|
Loading…
Reference in New Issue
Block a user