This commit is contained in:
2024-10-12 19:39:24 +03:00
parent 38ba3fabbb
commit acd949ce54

View File

@@ -110,6 +110,12 @@
loop_control: loop_control:
loop_var: int_name loop_var: int_name
- name: check
debug:
msg: "{{ nmcli_result_eth-{{ int_name }} }}"
loop: "{{ phy_ints }}"
loop_control:
loop_var: int_name
- name: Check result nmcli eth - name: Check result nmcli eth
set_fact: set_fact:
nmcli_eth_failed: "{{ nmcli_result_eth-{{ int_name }}.rc != 0 }}" nmcli_eth_failed: "{{ nmcli_result_eth-{{ int_name }}.rc != 0 }}"