ff
This commit is contained in:
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
- name: Run nmcli to check if Ethernet connection has already been added
|
- name: Run nmcli to check if Ethernet connection has already been added
|
||||||
shell: /usr/bin/nmcli c | grep 'Ethernet-{{ int_name }}'
|
shell: /usr/bin/nmcli c | grep 'Ethernet-{{ int_name }}'
|
||||||
register: nmcli_result_eth-{{ int_name }}
|
register: nmcli_result_eth
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
loop: "{{ phy_ints }}"
|
loop: "{{ phy_ints }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
- name: check
|
- name: check
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ nmcli_result_eth-{{ int_name }} }}"
|
msg: "{{ nmcli_result_eth }}"
|
||||||
loop: "{{ phy_ints }}"
|
loop: "{{ phy_ints }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: int_name
|
loop_var: int_name
|
||||||
|
|||||||
Reference in New Issue
Block a user