From 4344bd7d454b95270bb748547c253ce577610ec3 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 22 Oct 2022 17:38:08 +0200 Subject: [PATCH] lasagne: new host for homeassistant --- host_vars/lasagne.binary.kitchen | 12 ++++++++++++ hosts | 1 + .../templates/bind/23.172.in-addr.arpa.zone.j2 | 4 +++- .../dns_intern/templates/bind/binary.kitchen.zone.j2 | 4 +++- site.yml | 2 +- 5 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 host_vars/lasagne.binary.kitchen diff --git a/host_vars/lasagne.binary.kitchen b/host_vars/lasagne.binary.kitchen new file mode 100644 index 0000000..59dc090 --- /dev/null +++ b/host_vars/lasagne.binary.kitchen @@ -0,0 +1,12 @@ +--- + +root_keys_host: +- "# Thomas Basler" +- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDMJDyq3veSnK+6hSw+Ml6lvTQTPC6vRFqtDXvPBnOtId8F9+/N0ADcPa5UTesnTkQgSAY7WpSoN5D6clYzdcPR55e5WZwZfMSkX14D7v7mrGxUcE4HshTorfEYv5XBd11Tvu0ruMdxlFQ+VFHkZIF305xgyx32INA3zUfnhzHJlKEdIAy8iSbERUV+X5kB59aep6xSpitCHJtsTT5Ky+EsvAhndKB5hDBuwVVr0+Sg5PypeTQ4zzWFyR6DFBEvyEj6bs/pQff9WxSRIXEuLffXOXdRLGHWqX7PfhWcH9WNH55WT7ZKCMGVuG4kYLkZ633c296ISg9q0eNKn99oHuwvzVg/wV3wndHINE+iUKKJjaRUpDUwd9DftFqMbFGATpf8en6KPs/7bgZUGACIfDO6Uy59V75cntiMFZc+BnnpV2qLVBFFD5ClRBCRdqH5D0px+jpuQFo9EUhggL4jzlj9wQf26zv0E4zSGTqbM1jfO3zcXlxSjg3H3Og2GAO5fCQiodpsqkW9Hby/p4s5l+P97tlVlgapnZlSA/1em4lmYshmRk/9scN8PMSXfW9uhncv9qXqp0ypEqEuNfj5u/1Eu8zmayIA9V23xyPn92LMT6MP2BB1kC7jeAXfXHdKBhTYW6bLQJKMs9nypH6RODK1fb9JlIrB61ZDJ9L5K++o2Q==" +- "# Ralf Ramsauer" +- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2bKOm2jd2QsPaJPE4V3bHBLjXB3pnpggkdEhf03aFvB08C72vKQcHpIYNhp8DLBr4N5epA0JP1cXdRSdKhQgzYbqL8CQgOJoNwf0OeOhFyXdThu1OqmaRMrRGlB/Q+sqBEXaknHqcXzq+24zkR+ID7sGkq7WaIKPln0qNY5RxWYrPE98ZhU5fZh1Qorcv34UBHYhVP4y8vM43LHcbkLgr0gg9tb2vItF6YvyIxgtz6KCODObzBZfkLLnVhVcb9VWbDh72rIz4OXI1fl+mCCH2l7XlqKP1vhF5LVsUjPcGY3Go0fw2vHIyxWe479OJ/9elFnKRIUY/f1Xz+YikLTmj ralf@YUBIKEY" +- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBUAsEgyHNq7iQpAltGVVHGdf/PIQH7sYuq1PbaFEJzj ralf@lefay" +- "# Thomas Schmid" +- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC0Wq37DP89UO6MiJvvRbsXEcEV9d5/JJb7K2R0WHsHa sct39667@m-mob-062" + +uau_reboot: "false" diff --git a/hosts b/hosts index 74c7100..109b46d 100644 --- a/hosts +++ b/hosts @@ -9,6 +9,7 @@ pizza.binary.kitchen ansible_host=172.23.2.33 pancake.binary.kitchen ansible_host=172.23.2.34 knoedel.binary.kitchen ansible_host=172.23.2.35 bob.binary.kitchen ansible_host=172.23.2.37 +lasagne.binary.kitchen ansible_host=172.23.2.38 bowle.binary.kitchen ansible_host=172.23.2.62 salat.binary.kitchen ansible_host=172.23.9.61 [auweg] diff --git a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 index 74a1ea9..9b81395 100644 --- a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 +++ b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN 23.172.in-addr.arpa. ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2022071600; serial + 2022102201; serial 1d; refresh 2h; retry 4w; expire @@ -50,6 +50,7 @@ $TTL 1h ; default time-to-live 35.2 IN PTR knoedel.binary.kitchen. 36.2 IN PTR schweinshaxn.binary.kitchen. 37.2 IN PTR bob.binary.kitchen. +38.2 IN PTR lasagne.binary.kitchen. 62.2 IN PTR bowle.binary.kitchen. 91.2 IN PTR strammermax.binary.kitchen. 92.2 IN PTR obatzda.binary.kitchen. @@ -67,6 +68,7 @@ $GENERATE 10-230 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen. ; MQTT 1.4 IN PTR v2304.core.binary.kitchen. 6.4 IN PTR pizza.mqtt.binary.kitchen. +7.4 IN PTR lasagne.mqtt.binary.kitchen. $GENERATE 10-240 $.4 IN PTR dhcp-${0,3,d}-04.binary.kitchen. 241.4 IN PTR habdisplay1.mqtt.binary.kitchen. 242.4 IN PTR habdisplay2.mqtt.binary.kitchen. diff --git a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 index fc4c762..d319e13 100644 --- a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 +++ b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN binary.kitchen ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2022071600; serial + 2022102201; serial 1d; refresh 2h; retry 4w; expire @@ -74,6 +74,7 @@ pancake IN A 172.23.2.34 knoedel IN A 172.23.2.35 schweinshaxn IN A 172.23.2.36 bob IN A 172.23.2.37 +lasagne IN A 172.23.2.38 bowle IN A 172.23.2.62 strammermax IN A 172.23.2.91 obatzda IN A 172.23.2.92 @@ -91,6 +92,7 @@ noodlehub IN A 172.23.3.251 ; MQTT v2304.core IN A 172.23.4.1 pizza.mqtt IN A 172.23.4.6 +lasagne.mqtt IN A 172.23.4.7 $GENERATE 10-240 dhcp-${0,3,d}-04 IN A 172.23.4.$ habdisplay1.mqtt IN A 172.23.4.241 habdisplay2.mqtt IN A 172.23.4.242 diff --git a/site.yml b/site.yml index 860ad56..4187fe5 100644 --- a/site.yml +++ b/site.yml @@ -7,7 +7,7 @@ - root_keys - name: Setup unattended updates - hosts: [sulis.binary.kitchen, nabia.binary.kitchen, epona.binary.kitchen, pizza.binary.kitchen, pancake.binary.kitchen, knoedel.binary.kitchen, bob.binary.kitchen, bowle.binary.kitchen, beryllium.binary-kitchen.net, boron.binary-kitchen.net, carbon.binary-kitchen.net, nitrogen.binary-kitchen.net, oxygen.binary-kitchen.net, fluorine.binary-kitchen.net, neon.binary-kitchen.net, sodium.binary-kitchen.net, magnesium.binary-kitchen.net, krypton.binary-kitchen.net, yttrium.binary-kitchen.net, zirconium.binary-kitchen.net, molybdenum.binary-kitchen.net, ruthenium.binary-kitchen.net, rhodium.binary-kitchen.net, barium.binary-kitchen.net] + hosts: [sulis.binary.kitchen, nabia.binary.kitchen, epona.binary.kitchen, pizza.binary.kitchen, pancake.binary.kitchen, knoedel.binary.kitchen, bob.binary.kitchen, lasagne.binary.kitchen, bowle.binary.kitchen, beryllium.binary-kitchen.net, boron.binary-kitchen.net, carbon.binary-kitchen.net, nitrogen.binary-kitchen.net, oxygen.binary-kitchen.net, fluorine.binary-kitchen.net, neon.binary-kitchen.net, sodium.binary-kitchen.net, magnesium.binary-kitchen.net, krypton.binary-kitchen.net, yttrium.binary-kitchen.net, zirconium.binary-kitchen.net, molybdenum.binary-kitchen.net, ruthenium.binary-kitchen.net, rhodium.binary-kitchen.net, barium.binary-kitchen.net] roles: - uau