Update naming of inventory

in anticipation of cowfee
This commit is contained in:
Salt 2020-07-28 06:21:29 -05:00
parent a6cdd5314f
commit d17911c470
4 changed files with 9 additions and 13 deletions

View File

@ -12,19 +12,15 @@ all:
ansible_host: 172.23.100.1
lap-th-e560-0:
ansible_host: 172.23.100.2
9iron:
9iron.club:
children:
webservers:
gameservers:
webservers:
hosts:
web1:
ansible_host: web1.9iron.club
web2:
ansible_host: web2.9iron.club
fedi1:
ansible_host: fedi1.9iron.club
web1.9iron.club:
web2.9iron.club:
fedi1.9iron.club:
gameservers:
hosts:
game1:
ansible_host: game1.9iron.club
game1.9iron.club:

View File

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: game1
- hosts: game1.9iron.club
roles:
- role: backups
tags: [ backups ]

View File

@ -4,13 +4,13 @@
- hosts: webservers
roles:
- apache-php
- hosts: fedi1
- hosts: fedi1.9iron.club
roles:
- role: backups
tags: [ backups ]
- role: matrix
tags: [ fedi, matrix ]
- hosts: web1
- hosts: web1.9iron.club
roles:
- role: backups
vars:
@ -36,7 +36,7 @@
gitweb_url: "www.9iron.club"
gitweb_webroot: "/var/www/www"
tags: [ web, webroot ]
- hosts: web2
- hosts: web2.9iron.club
roles:
- role: backups
tags: [ backups ]