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 ansible_host: 172.23.100.1
lap-th-e560-0: lap-th-e560-0:
ansible_host: 172.23.100.2 ansible_host: 172.23.100.2
9iron: 9iron.club:
children: children:
webservers: webservers:
gameservers: gameservers:
webservers: webservers:
hosts: hosts:
web1: web1.9iron.club:
ansible_host: web1.9iron.club web2.9iron.club:
web2: fedi1.9iron.club:
ansible_host: web2.9iron.club
fedi1:
ansible_host: fedi1.9iron.club
gameservers: gameservers:
hosts: hosts:
game1: game1.9iron.club:
ansible_host: game1.9iron.club

View File

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

View File

@ -4,13 +4,13 @@
- hosts: webservers - hosts: webservers
roles: roles:
- apache-php - apache-php
- hosts: fedi1 - hosts: fedi1.9iron.club
roles: roles:
- role: backups - role: backups
tags: [ backups ] tags: [ backups ]
- role: matrix - role: matrix
tags: [ fedi, matrix ] tags: [ fedi, matrix ]
- hosts: web1 - hosts: web1.9iron.club
roles: roles:
- role: backups - role: backups
vars: vars:
@ -36,7 +36,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: web2 - hosts: web2.9iron.club
roles: roles:
- role: backups - role: backups
tags: [ backups ] tags: [ backups ]