Add a few bobs to glue game.yml together

This commit is contained in:
Salt 2020-12-21 03:14:15 -06:00
parent 36c61436ed
commit d95416e831
2 changed files with 32 additions and 0 deletions

31
playbooks/game.yml Executable file
View File

@ -0,0 +1,31 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
# Database servers
---
- hosts: game1.thefuck.how
roles:
- role: minecraft
vars:
minecraft_name: valhelsia
minecraft_version: 1.16.3
minecraft_jre_xmx: 5G
minecraft_server_properties:
- opt: difficulty
value: hard
- opt: motd
value: "Let's get this out onto a tray. Nice, mmkay"
- opt: server-port
value: 25566
- opt: view-distance
value: 10
minecraft_forge_install: yes
minecraft_forge_version: 34.1.42
minecraft_forge_packurl: "https://media.forgecdn.net/files/3110/654/Valhelsia_SERVER-pre5-3.1.0.zip"
minecraft_forge_mods:
- "https://media.forgecdn.net/files/3091/862/ftb-gui-library-1603.1.1.25.jar"
- "https://media.forgecdn.net/files/3105/153/ftb-chunks-1603.2.0.43.jar"
- "https://media.forgecdn.net/files/3113/275/industrial-foregoing-1.16.4-3.2.2-daea863.jar"
minecraft_forge_mods_remove:
- industrial-foregoing-1.16.3-3.1.1-a834e76.jar
become: yes
tags: [ game, minecraft, forge, valhelsia ]

View File

@ -12,5 +12,6 @@
tags: [ ansible, common ] tags: [ ansible, common ]
# Import specific playbooks # Import specific playbooks
- import_playbook: playbooks/desktop.yml - import_playbook: playbooks/desktop.yml
- import_playbook: playbooks/game.yml
- import_playbook: playbooks/db.yml - import_playbook: playbooks/db.yml
- import_playbook: playbooks/web.yml - import_playbook: playbooks/web.yml