Switch to using hardwritten inventory
Easier to manage this way, I feel
This commit is contained in:
parent
1dd4cc73a2
commit
edd2e90aca
18
9iron.yml
18
9iron.yml
@ -6,7 +6,7 @@
|
||||
- common
|
||||
- user
|
||||
- influxdb
|
||||
- hosts: tag_www_true
|
||||
- hosts: 9iron.club
|
||||
roles:
|
||||
- role: backups
|
||||
vars:
|
||||
@ -32,7 +32,7 @@
|
||||
gitweb_url: "www.9iron.club"
|
||||
gitweb_webroot: "/var/www/www"
|
||||
tags: [ web, webroot ]
|
||||
- hosts: tag_terraria_vanilla
|
||||
- hosts: terraria.9iron.club
|
||||
roles:
|
||||
- role: terraria
|
||||
vars:
|
||||
@ -64,19 +64,7 @@
|
||||
terraria_port: 7779
|
||||
terraria_difficulty: 3
|
||||
tags: [ gameserver, terraria ]
|
||||
- hosts: tag_minecraft_ultreload
|
||||
roles:
|
||||
- role: backups
|
||||
- role: minecraft
|
||||
vars:
|
||||
mcname: "ftbult-reloaded-smp"
|
||||
mczip: "https://media.forgecdn.net/files/2746/974/FTBUltimateReloadedServer_1.8.0.zip"
|
||||
mcforge: "1.12.2-14.23.5.2846"
|
||||
mcmotd: "Going back to the roots edition"
|
||||
mcport: 25565
|
||||
mcgamemode: 0
|
||||
tags: [ gameserver, minecraft ]
|
||||
- hosts: tag_ansiblehost_true
|
||||
- hosts: ansiblehosts
|
||||
roles:
|
||||
- role: ansiblehost
|
||||
tags: [ ansiblehost ]
|
||||
|
3
inventory/group_vars/webservers.yml
Normal file
3
inventory/group_vars/webservers.yml
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
backups_outdir: "/cold/backups"
|
13
inventory/hosts.yml
Normal file
13
inventory/hosts.yml
Normal file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
all:
|
||||
children:
|
||||
ansiblehosts:
|
||||
hosts:
|
||||
9iron.club:
|
||||
webservers:
|
||||
hosts:
|
||||
9iron.club:
|
||||
gameservers:
|
||||
hosts:
|
||||
terraria.9iron.club:
|
Loading…
Reference in New Issue
Block a user