summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-10-25 19:44:43 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2023-10-31 12:15:56 +0100
commit98521eddef1762dc445ee8be450466216065001c (patch)
treeb82d7780c20d4e45a572974991569497e5fd0a1d
parenta5d79d229e89a8c7bab3527ef2097429ee7a308f (diff)
downloadinfra-98521eddef1762dc445ee8be450466216065001c.tar.gz
infra-98521eddef1762dc445ee8be450466216065001c.tar.bz2
infra-98521eddef1762dc445ee8be450466216065001c.tar.xz
infra-98521eddef1762dc445ee8be450466216065001c.zip
bgp/kv42ix
-rw-r--r--ansible/bgp/bgp.yml3
-rw-r--r--ansible/bgp/host_vars/knot/bgp.yml1
-rw-r--r--ansible/bgp/host_vars/kv24ix/bgp.yml7
-rw-r--r--ansible/inventory3
4 files changed, 8 insertions, 6 deletions
diff --git a/ansible/bgp/bgp.yml b/ansible/bgp/bgp.yml
index cf80b37..a641faf 100644
--- a/ansible/bgp/bgp.yml
+++ b/ansible/bgp/bgp.yml
@@ -2,9 +2,6 @@
- bgp
tasks:
- debug:
- msg: "Hello World!"
-
- - debug:
var: bgp_if
- debug:
diff --git a/ansible/bgp/host_vars/knot/bgp.yml b/ansible/bgp/host_vars/knot/bgp.yml
index dc8d8e7..0a9ca54 100644
--- a/ansible/bgp/host_vars/knot/bgp.yml
+++ b/ansible/bgp/host_vars/knot/bgp.yml
@@ -5,3 +5,4 @@ bgp_peers:
- astyanax
- hash
- lhn2ix
+ - kv24ix
diff --git a/ansible/bgp/host_vars/kv24ix/bgp.yml b/ansible/bgp/host_vars/kv24ix/bgp.yml
new file mode 100644
index 0000000..6fff8c6
--- /dev/null
+++ b/ansible/bgp/host_vars/kv24ix/bgp.yml
@@ -0,0 +1,7 @@
+bgp_as: 4230483907
+bgp_ip: "{{ wireguard_wg0.hosts[inventory_hostname].ipv6 }}"
+#bgp_mynet: fdf3:aad9:a885:9d81::/64
+#bgp_mynet_if: enp2s0
+bgp_peers:
+ - knot
+
diff --git a/ansible/inventory b/ansible/inventory
index ca8fe21..7d2f49e 100644
--- a/ansible/inventory
+++ b/ansible/inventory
@@ -40,11 +40,8 @@ all:
sweetzpot-macos:
ansible_host: 0.0.0.0
lhn2pi:
- ansible_host: 192.168.100.8
lhn2ix:
- ansible_host: 192.168.100.7
kv24ix:
- ansible_host: 192.168.100.7
zh2569.rsync.net:
ansible_user: zh2569