Add a script to get the next hop in a route.

I never remember the incantation, and its slightly different between FreeBSD and Linux so I am adding this script essentially as a note.
This commit is contained in:
Tom Alexander
2024-10-13 22:02:59 -04:00
parent 9d6ddfd1bd
commit cd0208f3fc
4 changed files with 36 additions and 0 deletions

View File

@@ -58,3 +58,14 @@
- iwd.service
# - systemd-networkd.service
- systemd-resolved.service
- name: Install scripts
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0755
owner: root
group: wheel
loop:
- src: next_hop_linux.bash
dest: /usr/local/bin/next_hop