https://github.com/devnope/ansible-workadventure
https://github.com/devnope/ansible-workadventure
ansible workadventure-instance
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/devnope/ansible-workadventure
- Owner: devnope
- Created: 2021-03-08T22:59:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-29T20:51:36.000Z (over 4 years ago)
- Last Synced: 2024-11-10T04:36:25.432Z (over 1 year ago)
- Topics: ansible, workadventure-instance
- Language: Jinja
- Homepage:
- Size: 77.1 KB
- Stars: 18
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-woka - devnope/ansible-wa - How to Setup WA with Ansible on Debian (Workadventure specific / Woka Git Repos)
README
# automated setup from blank debian to a basically usable workadventure instance
## Pretext
This Repository tries to be a help in your quest in deploying your very own WorkAdventure-Instance.
On the other hand, it won't help you in designing your own maps.
Let's assume, you have the cheapest VPS Instance from Hetzner.
### Problems solved by the Ansible Roles
## Preparation
You can then use the `user-data` functionality of Cloud-Init as a Kickstarter for your server.
This prepares you to have a basically working server to which you can logon via ssh with your private key.
After that you can use git to pull this repository and install Ansible.
Then you should create a Vault-File for Ansible and name it "vars.vault.yml". An example is provided in "vault-template.yml".
After you filled in the Vault-File, fill in your specific data inside the `deployment.yml`.
```
workadventure_domain: "workadventure."
workadventure_start_room: "/_/global/raw.githubusercontent.com/raumzeitlabor/rc3-map-lounge/main/main.json"
jitsi_url: ""
```
## Execution
### Execute Ansible:
```
ansible-playbook deployment.yml -e @vars.vault.yml --ask-vault-pass
```
**Reboot is necessary**
### Setup DNS:
This depends on your Domain Provider but the Following should help you:
```
workadventure 600 IN A
api.workadventure 600 IN A
back.workadventure 600 IN A
maps.workadventure 600 IN A
play.workadventure 600 IN A
pusher.workadventure 600 IN A
uploader.workadventure 600 IN A
```
### Start Workadventure
```
cd /opt/workadventure/contrib/docker
docker-compose up -d
```
access `https://play.workadventure.` in your Browser
## ToDos for this Repo:
* provide more content for fail2ban
* improve UFW config