this time fo rsure

This commit is contained in:
John Burwell 2025-04-26 14:13:32 -05:00
parent 8ada40fec3
commit 7fcb9e1dda
2 changed files with 3 additions and 2 deletions

View File

@ -34,9 +34,10 @@
loop: "{{ radios }}" loop: "{{ radios }}"
loop_control: loop_control:
index_var: index index_var: index
loop_var: radio
ansible.builtin.template: ansible.builtin.template:
src: ax.network.j2 src: ax.network.j2
dest: "/etc/systemd/network/{{ item.ax_iface }}.network" dest: "/etc/systemd/network/{{ radio.ax_iface }}.network"
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"

View File

@ -1,5 +1,5 @@
[Match] [Match]
Name={{ ax_iface }} Name={{ radio.ax_iface }}
[Network] [Network]
Address={{ radio.ip_address }} Address={{ radio.ip_address }}