forked from bitlair/ansible
Re-organize host inventory
This commit is contained in:
parent
cb7ab2782a
commit
b1add6ce2c
8 changed files with 33 additions and 18 deletions
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
- hosts: bank
|
||||
vars:
|
||||
roles:
|
||||
- common
|
||||
- bank
|
||||
|
|
4
common.yaml
Normal file
4
common.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- hosts: debian
|
||||
roles:
|
||||
- common
|
1
group_vars/mqtt_internal.yaml
Normal file
1
group_vars/mqtt_internal.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
mqtt_internal_public_host: bitlair.nl
|
3
group_vars/music.yaml
Normal file
3
group_vars/music.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
music_domain: music.bitlair.nl
|
||||
acme_san_domains:
|
||||
- [ music.bitlair.nl ]
|
11
hosts
11
hosts
|
@ -1,11 +0,0 @@
|
|||
[bank]
|
||||
bank.bitlair.nl
|
||||
|
||||
[bar]
|
||||
bank-pi.bitlair.nl
|
||||
|
||||
[mqtt_internal]
|
||||
mqtt.bitlair.nl
|
||||
|
||||
[music]
|
||||
music.bitlair.nl
|
25
hosts.yaml
Normal file
25
hosts.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
all:
|
||||
children:
|
||||
raspi:
|
||||
hosts:
|
||||
bank-pi.bitlair.nl:
|
||||
debian:
|
||||
children:
|
||||
bank:
|
||||
hosts:
|
||||
bank.bitlair.nl:
|
||||
git:
|
||||
hosts:
|
||||
git.bitlair.nl:
|
||||
lights:
|
||||
hosts:
|
||||
lights.bitlair.nl:
|
||||
mqtt_internal:
|
||||
hosts:
|
||||
mqtt.bitlair.nl:
|
||||
music:
|
||||
hosts:
|
||||
music.bitlair.nl:
|
||||
www:
|
||||
hosts:
|
||||
cyber.bitlair.nl:
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
- hosts: mqtt_internal
|
||||
vars:
|
||||
mqtt_internal_public_host: bitlair.nl
|
||||
roles:
|
||||
- common
|
||||
- mqtt-internal
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
- hosts: music
|
||||
vars:
|
||||
music_domain: music.bitlair.nl
|
||||
acme_san_domains:
|
||||
- [ music.bitlair.nl ]
|
||||
roles:
|
||||
- common
|
||||
- acme
|
||||
|
|
Loading…
Add table
Reference in a new issue