host basename includes

This commit is contained in:
do
2021-10-31 22:07:05 +01:00
parent 01417bef0b
commit f26b2a6449
3 changed files with 15 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ haproxy:
- location /lovelace if deprecated
servers:
server1:
name: auto02
name: auto
host: 127.0.0.1
port: 8123
check: check
@@ -165,7 +165,7 @@ haproxy:
balance: roundrobin
servers:
server1:
name: auto02
name: auto-conf
host: 127.0.0.1
port: 3218
check: check
@@ -174,7 +174,7 @@ haproxy:
balance: roundrobin
servers:
server1:
name: auto02
name: zwave2mqtt
host: 127.0.0.1
port: 8091
check: check
@@ -183,7 +183,7 @@ haproxy:
balance: roundrobin
servers:
server1:
name: auto02
name: pihole
host: 127.0.0.1
port: 8080
check: check
@@ -192,7 +192,7 @@ haproxy:
balance: roundrobin
servers:
server1:
name: auto02
name: nodered
host: 127.0.0.1
port: 1880
check: check

View File

@@ -1,4 +1,5 @@
include:
- base.hostconfig.{{ grains.get('nodename') | regex_replace('[0-9]', '', ignorecase=True) }}
- base.hostconfig.{{ grains.get('nodename') }}

8
base/hostconfig/pine.sls Normal file
View File

@@ -0,0 +1,8 @@
pki:
cns:
- auth.lan
- public.auth.lan
- secure.auth.lan
- nc.lan
- git-ui.lan
- hassio.lan