This commit is contained in:
2024-10-12 19:43:15 +03:00
parent a8274fc507
commit 4e9dc9da7c

View File

@@ -104,7 +104,7 @@
- name: Run nmcli to check if Ethernet connection has already been added
shell: /usr/bin/nmcli c | grep 'Ethernet-{{ int_name }}'
register: nmcli_result_eth-{{ int_name }}
register: nmcli_result_eth
ignore_errors: True
loop: "{{ phy_ints }}"
loop_control:
@@ -112,7 +112,7 @@
- name: check
debug:
msg: "{{ nmcli_result_eth-{{ int_name }} }}"
msg: "{{ nmcli_result_eth }}"
loop: "{{ phy_ints }}"
loop_control:
loop_var: int_name