Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivan1993spb/snake-ansible
Ansible playbooks to deploy the Snake-Server
https://github.com/ivan1993spb/snake-ansible
ansible multiplayer online snake snake-game
Last synced: 1 day ago
JSON representation
Ansible playbooks to deploy the Snake-Server
- Host: GitHub
- URL: https://github.com/ivan1993spb/snake-ansible
- Owner: ivan1993spb
- License: mit
- Created: 2018-11-10T16:00:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T18:38:43.000Z (almost 5 years ago)
- Last Synced: 2024-11-09T21:24:44.889Z (about 2 months ago)
- Topics: ansible, multiplayer, online, snake, snake-game
- Homepage: http://snakeonline.xyz
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snake-Ansible
Ansible playbook to install the Snake-Server. See the Snake-Server source code here: https://github.com/ivan1993spb/snake-server
## Presettings
1. Check if you have Python and pip
2. Clone this repository
3. Initialize virtual environment and install dependencies:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
4. Create `inventories` file:
```
[all]
host1
host2
hostN
```
5. Setup variables in `group_vars/all.yml`:
```bash
cp group_vars/all.yml.sample group_vars/all.yml
```## Install
```
ansible-playbook -i inventories install.yml
```Use flags `-K`, `-k`, `-u` to control access.
## Update
```
ansible-playbook -i inventories update.yml
```## Uninstall
```
ansible-playbook -i inventories uninstall.yml
```## License
See [LICENSE](LICENSE).