summaryrefslogtreecommitdiff
path: root/installer-ansible.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-04 14:42:52 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-04 16:05:39 +0300
commitcacfea7f8432f6d1be148c4cc7fdb3759dd774f5 (patch)
tree8aa51952efcb989d17ad97609c1e361da47e720f /installer-ansible.yml
parent9cf867110987504a5f117a8e8e3e5ccf54d0109f (diff)
downloadv-i-cacfea7f8432f6d1be148c4cc7fdb3759dd774f5.tar.gz
feat(installer-ansible.yml): rename variables to match Puomi's
This makes diffing with Puomi easier, while I'm debugging. Sponsored-by: author
Diffstat (limited to 'installer-ansible.yml')
-rw-r--r--installer-ansible.yml19
1 files changed, 9 insertions, 10 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml
index 53cd4d6..56cee7a 100644
--- a/installer-ansible.yml
+++ b/installer-ansible.yml
@@ -139,7 +139,7 @@
Kind=bridge
dest: /etc/systemd/network/br0.netdev
- - name: "add LAN devices to br0"
+ - name: "add local network ports to br0"
copy:
content: |
[Match]
@@ -156,7 +156,7 @@
Name=br0
[Network]
- Address={{ lan_ip }}/24
+ Address={{ puomi_lan_ip }}/24
DHCPServer=false
IPForward=false
IPMasquerade=false
@@ -176,8 +176,8 @@
- name: "configure dnsmasq for local bridge br0"
copy:
content: |
- dhcp-range={{ dhcp_start }},{{ dhcp_end }},{{ dhcp_netmask }},{{ dhcp_lease }}
- host-record={{ inventory_hostname }},{{ lan_ip }}
+ dhcp-range={{ puomi_dhcp_start }},{{ puomi_dhcp_end }},{{ puomi_dhcp_netmask }},{{ puomi_dhcp_lease }}
+ host-record={{ hostname }},{{ puomi_lan_ip }}
interface=br0
interface=lo
max-cache-ttl=30
@@ -218,10 +218,9 @@
=dXB0
-----END PGP PUBLIC KEY BLOCK-----
-
- lan_ip: 10.20.20.1
- dhcp_start: 10.20.20.10
- dhcp_end: 10.20.20.250
- dhcp_netmask: 255.255.255.0
- dhcp_lease: 1h
+ puomi_lan_ip: 10.20.20.1
+ puomi_dhcp_start: 10.20.20.10
+ puomi_dhcp_end: 10.20.20.250
+ puomi_dhcp_netmask: 255.255.255.0
+ puomi_dhcp_lease: 1h