computer-playbook/README.md

92 lines
4.0 KiB
Markdown
Raw Normal View History

2023-04-18 15:08:42 +02:00
# Computer Playbook
2021-11-12 13:00:36 +01:00
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
2023-01-09 15:59:36 +01:00
2023-04-18 15:08:42 +02:00
Ansible software to setup and administrate applications and docker images on Linux computers.
2023-03-21 11:42:37 +01:00
2023-04-18 15:08:42 +02:00
With this tool you can setup all of the following application on bare metal servers and personal computers
2023-03-21 11:42:37 +01:00
2023-04-18 15:08:42 +02:00
## Bare Metal Servers
### Included Applications
#### Docker Applications
2023-03-21 11:42:37 +01:00
This software allows to setup the docker following applications:
- [Nextcloud](./roles/docker-nextcloud/README.md) - Cloud Software
- [Akaunting](./roles/docker-akaunting/README.md) - Business Controlling Software
- [Big Blue Button](./roles/docker-bigbluebutton/README.md) - Video Conference Software
- [Gitea](./roles/docker-gitea/README.md) - Version Controll Software
- [Joomla](./roles/docker-joomla/) - CMS Software
- [Mailu](./roles/docker-mailu/README.md) - Mailsoftware
- [Peertube](./roles/docker-peertube/README.md) - Video Platform Software
- [pixelfed](./roles/docker-pixelfed/README.md) - Photo Platform Software
- [Wordpress](./roles/docker-wordpress/README.md) - Blog Software
- [YOURLS](./roles/docker-yourls/README.md) - URL Shortening Software
- [Mastodon](./roles/docker-mastodon/README.md) - Micro Blog Software
- [Media Wiki](./roles/docker-mediawiki/README.md) - Wiki Software
- [MyBB](./roles/docker-mybb/README.md) - Forum Software
2023-04-18 15:08:42 +02:00
#### Native Applications
2023-03-21 11:42:37 +01:00
This software shipts the following tools which are natively setup on the server:
- [Backups Cleanup](./roles/native-backups-cleanup/README.md) - Cleans up old backups
- [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
2023-03-24 14:49:07 +01:00
- [Docker Reverse Proxy](./roles/native-docker-reverse-proxy/README.md) - Docker Reverse Proxy Solution
2023-03-21 11:42:37 +01:00
- [Docker Volume Backup](./roles/native-docker-volume-backup/) - Backup Solution for Docker Volumes
- [Pull Primary Backups](./roles/native-pull-primary-backups/README.md) - Pulls the backups from another server and stores them
- [Wireguard](./roles/native-wireguard/README.md) - Integrates the server in an wireguard vpn
2023-04-18 15:08:42 +02:00
### Server Administration
2023-01-09 15:59:36 +01:00
2023-04-18 15:08:42 +02:00
#### Cleanup docker
2020-12-24 14:27:31 +01:00
``bash
docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker volume rm $(docker volume ls -q);
``
2023-01-09 15:59:36 +01:00
2023-04-18 15:08:42 +02:00
#### Restart
2023-01-09 15:59:36 +01:00
To mercifull restart the server and to prevent data lost type in:
``bash
docker stop $(docker ps -a -q) && systemctl stop docker && shutdown -r +2 "The system will shutdown in 2 minutes"
``
May it's neccessary to restart some of the the docker containers manual afterwards.
2023-04-18 15:08:42 +02:00
## Personal Computers
2023-04-18 15:08:42 +02:00
This playbooks offers the setup of Manjaro GNOME clients.
2023-04-18 15:08:42 +02:00
### Included Applications
- [Basic Linux Administration Tools](./roles/collection-administrator-base/)
- [Network Analyzes Tools](./roles/collection-administrator-network-analyze/)
- [Designer Tools](./roles/collection-designer/)
- [Arduino Developer Tools](./roles/collection-developer-arduino/)
- [Basic Developer Tools](./roles/collection-developer-base/)
- [Bash Developer Tools](./roles/collection-developer-bash/)
- [Java Developer Tools](./roles/collection-developer-java/)
- [PHP Developer Tools](./roles/collection-developer-php/)
- [Python Developer Tools](./roles/collection-developer-python/)
- [Entertainment Software](./roles/collection-entertainment/)
- [Games](./roles/collection-games/)
- [Office Tools](./roles/collection-office/)
- [Streaming Tools](./roles/collection-streamer/)
- [Torrent Software](./roles/collection-torrent/)
- ...
2023-04-18 15:08:42 +02:00
### Setup
Run:
```bash
ansible-galaxy collection install -r requirements.yml
```
## See
- https://www.middlewareinventory.com/blog/run-ansible-playbook-locally/
- https://stackoverflow.com/questions/30533372/run-an-ansible-task-only-when-the-hostname-contains-a-string
- https://archived.forum.manjaro.org/t/running-android-applications-on-arch-using-anbox/53332
- https://www.reddit.com/r/ManjaroLinux/comments/cbkblb/guide_run_android_apps_on_manjaro_super_simple/