From 98521eddef1762dc445ee8be450466216065001c Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 25 Oct 2023 19:44:43 +0200 Subject: bgp/kv42ix --- ansible/bgp/bgp.yml | 3 --- ansible/bgp/host_vars/knot/bgp.yml | 1 + ansible/bgp/host_vars/kv24ix/bgp.yml | 7 +++++++ ansible/inventory | 3 --- 4 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 ansible/bgp/host_vars/kv24ix/bgp.yml (limited to 'ansible') 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 @@ -1,9 +1,6 @@ - hosts: - bgp tasks: - - debug: - msg: "Hello World!" - - debug: var: bgp_if 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 -- cgit v1.2.3