Commit Graph

177 Commits

Author SHA1 Message Date
324fe0b191
Upgrade Nextcloud setup to use compose files
- Integrated MariaDB role into Dockerbox configuration
- Moved proxy role to the end to avoid early endpoint activation
- Temporarily disabled select roles for future re-evaluation
- Introduced flush_handlers task for early MariaDB restart
- Moved a few Nextcloud tasks to handlers
- Configured Nextcloud to utilize the host's MariaDB instance
- Enhanced overall code linting quality
2024-04-21 22:27:48 -04:00
6fbd3c53bb
Add Vagrant cache option for dhparams.pem 2024-03-26 21:51:39 -04:00
a2e60972c7
Comply with linting on proxy setup 2023-11-05 21:34:19 -05:00
598359854f
Update proxy role to comply with linting 2023-11-03 00:47:06 -04:00
385e60aee5
Update proxy playbook 2023-11-02 23:29:54 -04:00
5633468f41
Fix linting issues on Docker role 2023-10-22 13:48:20 -04:00
7f91b24adb
Add Debian/Official Docker repo toggle
- Default docker_official toggle to false (for now)
- Preempt MariaDB restart before container restarts
- Start containers in a handler
2023-10-22 11:33:05 -04:00
5b09029239
Update base role to pass linting 2023-10-20 21:30:25 -04:00
7adb5f10e9
Update Gitea role for docker_compose_deploy
- Add MariaDB to dev playbook
- Set Git user in "users:"
- Define Gitea external compose project
- Forward SSH port in forwarding script
- Create user groups with system users
- Install python3-pymysql for Ansible
- Strip old Gitea deployment methods
- Bind MariaDB to docker0 for Docker access
2023-10-20 15:41:44 -04:00
d05c5d3086
Slight tweaks on Ansible output 2023-10-19 16:36:05 -04:00
ac412f16ef
Simplify the "Import GPG keys" loop 2023-10-19 14:09:10 -04:00
2354a8fb8c
Verify successful GPG imports 2023-10-19 13:37:35 -04:00
251a7c0dd5
Import PGP key and verify git commits 2023-10-19 02:56:36 -04:00
1d8ae8a0b6
Install ntpsec 2023-10-19 01:27:31 -04:00
6b2feaee5e
Hide docker-compose secrets from diff output 2023-10-18 23:03:52 -04:00
31e0538b84
Add locale configuration tasks to base role 2023-10-18 16:32:09 -04:00
a65c4b9cf6
Handle Ansible undefined loop variable
- Default docker_compose_deploy to empty list if undefined
- Add conditional check to avoid looping through an empty list
2023-10-10 00:14:52 -04:00
7ee6e4810d
Convert booleans to lowercase 2023-10-10 00:00:00 -04:00
87aa7ecf8b
Add external compose support in the docker role
- Use ansible.posix.synchronize for compose.yml
- Set fact for compose service restarts
- Introduce plain Docker dev host
- Optionally verify repos via GPG before sync
- Hide docker_repos_path in .folder
- Tweak .env for conciseness
- Add --diff to Ansible in Vagrantfile
- Clean output with loop_control
- Embed GPG in base role
2023-10-09 23:47:49 -04:00
0377a5e642
Add option for private OCI registry auth 2023-09-29 22:18:59 -04:00
ef5aacdbbd
No deploy keys without compose deploy variable 2023-07-21 23:52:18 -04:00
a635c7aa48
Add option to deploy external docker-compose stack 2023-07-20 03:51:44 -04:00
027ba46f6b
Add Github actions and remove old ansible stuff 2023-07-08 23:43:52 -04:00
48216db8f9
Updated Nextcloud settings and added cron job 2023-06-18 23:52:10 -04:00
fa1dc4acb7
Fix WireGuard firewall rule 2023-06-15 03:09:13 -04:00
228cd5795b
Config adjustments for Jellyfin/Samba deployment
- Ignored .vscode
- Added firewall exclusion option
- Allowed guest access in Samba
2023-06-09 22:26:47 -04:00
74a559f1f6
Update mediaserver playbook and fix Wireguard task 2023-06-08 03:47:54 -04:00
4c2a1550c4
Adding samba and general user management 2023-06-07 02:12:17 -04:00
9142254a57
Improvements for ansible-linting 2023-05-04 01:44:18 -04:00
dfd93dd5f8
Updated Ansible tasks to FQCN format 2023-05-03 23:42:55 -04:00
81d2ea447a
Add mediaserver, rm .gitignore, FQCN, Jellyfin
- Added development "mediaserver" playbook for testing
- rm .gitignore in roles dir since no external ansible roles are used
- Update a part of the base role to use FQCN for linting
- Added "jellyfin" role to install Jellyfin with docker-compose
- Updated Traefik to use the loopback for default web entry points
- Simplified Traefik docker-compose vars, Ansible sets defaults
2023-04-26 02:26:50 -04:00
9512212b84
Refactor Traefik deploy: docker-compose + systemd
- Replace docker_container ansible with new setup
- Add option to disable HTTPS for alternate reverse proxy use
2023-04-21 03:04:53 -04:00
c67a39982e
Option to enable websockets for the noVNC console 2022-12-06 00:15:10 -05:00
f68f57d0cf
ROOT_URL should have HTTPS for the clone URL 2022-09-18 15:21:16 -04:00
b9f9b0bf3c
Update TLS settings in nginx proxy 2022-08-27 18:56:12 -04:00
4f4a341b05
Add client_max_body_size for Nextcloud 2022-08-19 01:27:55 -04:00
cab6ab2d8e
Strip auth header and update external config 2022-08-19 00:51:05 -04:00
95f54b7f0a
Add Traefik toggles 2022-08-18 23:32:37 -04:00
7522c333da
Disable Traefik LE resolver and HSTS 2022-08-18 21:53:38 -04:00
344b79e97f
Add base domain to the wildcard certificate 2022-08-17 02:17:36 -04:00
e4fed78193
Remove basic auth on static nginx sites 2022-08-17 01:40:11 -04:00
85a6c3894a
Add basic auth and ignore backend SSL errors 2022-08-17 01:15:15 -04:00
7677bc25fa
Add WireGuard firewall rule 2022-08-13 00:19:24 -04:00
b255680a7a
Use host MariaDB in Gitea container 2022-08-11 21:04:07 -04:00
9eefad0e87
Install Fail2ban IP allow list 2022-06-28 23:43:58 -04:00
8362230eb4
Add nginx proxy server 2022-06-27 20:21:25 -04:00
82df91305a
Install aggressive Fail2ban jail for SSH 2022-06-18 19:47:02 -04:00
dd9f84d498
Create initial log files for fail2ban 2022-06-07 00:25:47 -04:00
b52ccabd22
Add Fail2ban to Gitea and Bitwarden 2022-05-28 02:31:41 -04:00
eccd6b7874
Add reverse proxy settings for Gitea and Bitwarden 2022-05-28 00:18:15 -04:00