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
|
- common
|
||||||
- user
|
- user
|
||||||
- influxdb
|
- influxdb
|
||||||
- hosts: tag_www_true
|
- hosts: 9iron.club
|
||||||
roles:
|
roles:
|
||||||
- role: backups
|
- role: backups
|
||||||
vars:
|
vars:
|
||||||
@ -32,7 +32,7 @@
|
|||||||
gitweb_url: "www.9iron.club"
|
gitweb_url: "www.9iron.club"
|
||||||
gitweb_webroot: "/var/www/www"
|
gitweb_webroot: "/var/www/www"
|
||||||
tags: [ web, webroot ]
|
tags: [ web, webroot ]
|
||||||
- hosts: tag_terraria_vanilla
|
- hosts: terraria.9iron.club
|
||||||
roles:
|
roles:
|
||||||
- role: terraria
|
- role: terraria
|
||||||
vars:
|
vars:
|
||||||
@ -64,19 +64,7 @@
|
|||||||
terraria_port: 7779
|
terraria_port: 7779
|
||||||
terraria_difficulty: 3
|
terraria_difficulty: 3
|
||||||
tags: [ gameserver, terraria ]
|
tags: [ gameserver, terraria ]
|
||||||
- hosts: tag_minecraft_ultreload
|
- hosts: ansiblehosts
|
||||||
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
|
|
||||||
roles:
|
roles:
|
||||||
- role: ansiblehost
|
- role: ansiblehost
|
||||||
tags: [ 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