Finally make sane our inventory?

This commit is contained in:
Salt 2020-07-30 08:52:41 -05:00
parent 81ee34092e
commit e530ab7cef
2 changed files with 24 additions and 32 deletions

View File

@ -36,38 +36,33 @@ all:
ansible_host: 172.23.100.1
lap-th-e560-0:
ansible_host: 172.23.100.2
# Webheads of all sorts
webservers:
hosts:
web1.9iron.club:
fedi1.9iron.club:
web1.cowfee.moe:
vars:
backups_frequency: 2h
# Gameservers of all sorts
gameservers:
vars:
backups_frequency: 6h
steam_api_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
39616163316634306633623435636633623966306537636639316439343839393231376661666335
6136333866633861313566306433393637613364386234360a303832626338373230396665336430
33346530626633616161613635656433356434366437383363663165303862316163323263323230
3334373531646364620a386165626130386265343235363639346230323930626330343235373662
38313431663734343931333462316633643935353038313934663466303834636533616165353961
6438356265656532396363323532616437353831613261323037
hosts:
game1.9iron.club:
# Individual domains
9iron.club:
vars:
zone: 9iron.club
hosts:
web1.9iron.club:
fedi1.9iron.club:
game1.9iron.club:
children:
webservers-9iron:
hosts:
web1.9iron.club:
fedi1.9iron.club:
gameservers-9iron:
vars:
backups_frequency: 6h
steam_api_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
39616163316634306633623435636633623966306537636639316439343839393231376661666335
6136333866633861313566306433393637613364386234360a303832626338373230396665336430
33346530626633616161613635656433356434366437383363663165303862316163323263323230
3334373531646364620a386165626130386265343235363639346230323930626330343235373662
38313431663734343931333462316633643935353038313934663466303834636533616165353961
6438356265656532396363323532616437353831613261323037
hosts:
game1.9iron.club:
cowfee.moe:
vars:
zone: cowfee.moe
hosts:
web1.cowfee.moe:
children:
webservers-cofe:
hosts:
web1.cowfee.moe:
vars:
backups_frequency: 2h

View File

@ -1,9 +1,6 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: webservers
roles:
- apache-php
- hosts: fedi1.9iron.club
roles:
- role: backups