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,16 +36,15 @@ all:
ansible_host: 172.23.100.1
lap-th-e560-0:
ansible_host: 172.23.100.2
# Webheads of all sorts
webservers:
9iron.club:
vars:
zone: 9iron.club
children:
webservers-9iron:
hosts:
web1.9iron.club:
fedi1.9iron.club:
web1.cowfee.moe:
vars:
backups_frequency: 2h
# Gameservers of all sorts
gameservers:
gameservers-9iron:
vars:
backups_frequency: 6h
steam_api_key: !vault |
@ -58,16 +57,12 @@ all:
6438356265656532396363323532616437353831613261323037
hosts:
game1.9iron.club:
# Individual domains
9iron.club:
vars:
zone: 9iron.club
hosts:
web1.9iron.club:
fedi1.9iron.club:
game1.9iron.club:
cowfee.moe:
vars:
zone: 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