This commit is contained in:
2026-02-12 05:28:46 +02:00
parent 9a80c95082
commit 9a0888cec9

View File

@@ -145,7 +145,7 @@
ignore_errors: true
- name: Set eth0_macaddress fact
when: mac_probe is defined and mac_probe.rc == 0
when: mac_probe is defined and (mac_probe.rc | default(1)) == 0
ansible.builtin.set_fact:
eth0_macaddress: "{{ (mac_probe.stdout | default('') | trim) }}"