this time fo rsure
This commit is contained in:
parent
8ada40fec3
commit
7fcb9e1dda
@ -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"
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
[Match]
|
[Match]
|
||||||
Name={{ ax_iface }}
|
Name={{ radio.ax_iface }}
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Address={{ radio.ip_address }}
|
Address={{ radio.ip_address }}
|
||||||
Loading…
Reference in New Issue
Block a user