Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beyond-all-reason/rapid-hosting
Ansible playbook for setting up alternative Spring RTS rapid hosting server.
https://github.com/beyond-all-reason/rapid-hosting
Last synced: 9 days ago
JSON representation
Ansible playbook for setting up alternative Spring RTS rapid hosting server.
- Host: GitHub
- URL: https://github.com/beyond-all-reason/rapid-hosting
- Owner: beyond-all-reason
- License: apache-2.0
- Created: 2022-12-18T12:20:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T23:38:17.000Z (8 months ago)
- Last Synced: 2024-04-14T18:18:13.192Z (7 months ago)
- Language: Jinja
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Rapid hosting
=============Ansible playbook for setting up alternative Spring RTS rapid hosting server.
Testing
-------Without acquiring of the certificate from Let's Encrypt, it's possible to test the playbook using containers. Below is example testing execution.
```sh
podman build --build-arg=SSH_PUB_KEY="$(cat ~/.ssh/id_ed25519.pub)" \
-f testsrv.Dockerfile -t rapid-hosting-testsrv
podman run --publish-all --detach --name testsrv rapid-hosting-testsrv
ansible-playbook -i inventory.yaml --skip-tags letsencrypt,ansible_pull \
-e ansible_ssh_port=$(podman port testsrv 22 | cut -d: -f2) \
-e repos_address_override=localhost:$(podman port testsrv 443 | cut -d: -f2) \
-l testsrv play.yaml
podman exec testsrv systemctl start --wait [email protected]
PRD_RAPID_REPO_MASTER=https://localhost:$(podman port testsrv 443 | cut -d: -f2)/repos.gz \
PRD_DISABLE_CERT_CHECK=true \
pr-downloader --filesystem-writepath /tmp/prd --download-game chobby:test
```