moved rancher from rre.nu to rre.home
Because of HSTS problems I created a new home tld to host all internal services that is runned by self signed certs
This commit is contained in:
parent
87e6fd6367
commit
1fddef7a97
1
dnsmasq/files/home.conf
Normal file
1
dnsmasq/files/home.conf
Normal file
@ -0,0 +1 @@
|
||||
address=/rancher.rre.home/10.2.0.101
|
@ -32,6 +32,13 @@ ff02::3 ipv6-allhosts
|
||||
10.2.0.21 jalapeno
|
||||
10.2.0.101 salt
|
||||
10.2.0.102 pepper
|
||||
|
||||
#lab k3s cluster
|
||||
10.2.0.250 demo-k3s
|
||||
10.2.0.251 srv1
|
||||
10.2.0.252 srv2
|
||||
10.2.0.253 srv3
|
||||
|
||||
# MetalLB
|
||||
# 10.2.0.60-70
|
||||
10.2.0.60 public
|
||||
@ -48,5 +55,3 @@ ff02::3 ipv6-allhosts
|
||||
10.0.10.7 ap4
|
||||
10.0.10.20 woody
|
||||
10.0.10.30 laserjet
|
||||
|
||||
|
||||
|
@ -14,3 +14,6 @@ cname=s3.rre.nu,public.rre.nu
|
||||
cname=rre.nu,public.rre.nu
|
||||
cname=mat.rre.nu,public.rre.nu
|
||||
cname=zigbee2mqtt.rre.nu,public.rre.nu
|
||||
cname=grafana.rre.nu,public.rre.nu
|
||||
cname=prometheus.rre.nu,public.rre.nu
|
||||
cname=repo.rre.nu,salt.rre.nu
|
||||
|
@ -10,6 +10,14 @@ rre.nu configuration file:
|
||||
- group: root
|
||||
- mode: "0644"
|
||||
|
||||
rre.home configuration file:
|
||||
file.managed:
|
||||
- name: /etc/dnsmasq.d/home.conf
|
||||
- source: salt://dnsmasq/files/home.conf
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: "0644"
|
||||
|
||||
configure host file:
|
||||
file.managed:
|
||||
- name: /etc/hosts
|
||||
@ -25,4 +33,5 @@ start dnsmasq:
|
||||
- enable: True
|
||||
- watch:
|
||||
- file: rre.nu configuration file
|
||||
- file: rre.home configuration file
|
||||
- file: configure host file
|
||||
|
Reference in New Issue
Block a user