diff --git a/inventory/hosts.yml b/inventory/hosts.yml index eb49394..92f955e 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -26,5 +26,7 @@ all: ansible_host: fedi1.9iron.club gameservers: hosts: + game1: + ansible_host: game1.9iron.club game2: ansible_host: game2.9iron.club diff --git a/playbooks/gameservers.yml b/playbooks/gameservers.yml index 3d88015..bf59d77 100644 --- a/playbooks/gameservers.yml +++ b/playbooks/gameservers.yml @@ -1,6 +1,21 @@ #!/usr/bin/env ansible-playbook # vim:ft=ansible: --- +- hosts: game1 + roles: + - role: backups + tags: [ backups ] + - role: minecraft + vars: + mcname: "botania" + mczip: "https://www.9iron.club/files/botaniapack-1.zip" + mcforge: "1.10.2-12.18.3.2511" + mcmotd: "Second go-around edition" + mcport: 25565 + mcgamemode: 0 + mcviewdist: 14 + mcleveltype: "default" + tags: [ gameserver, minecraft, botaniapack ] - hosts: game2 roles: - role: backups