This commit is contained in:
John Burwell 2025-04-26 13:58:13 -05:00
parent f4242a132c
commit 9ce0af321d

View File

@ -34,11 +34,9 @@
loop: "{{ radios }}" loop: "{{ radios }}"
loop_control: loop_control:
loop_var: radio loop_var: radio
vars:
ax_iface: "{{ 'ax' + loop.index0 | string }}"
ansible.builtin.template: ansible.builtin.template:
src: ax.network.j2 src: ax.network.j2
dest: "/etc/systemd/network/{{ ax_iface }}.network" dest: "/etc/systemd/network/{{ 'ax' + loop.index0 | string }}.network"
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"