dont use ignore-errors

This commit is contained in:
Sandwich 2024-07-11 22:31:13 +02:00
parent 8864db253b
commit c988ab8f9a

View File

@ -31,4 +31,9 @@
networks: networks:
- vlan: "{{ vlan_name }}" - vlan: "{{ vlan_name }}"
type: dhcp type: dhcp
ignore_errors: true register: vmware_guest_result
failed_when:
- vmware_guest_result.failed
- "'error' in vmware_guest_result"
- "'failed' in vmware_guest_result"
- vmware_guest_result.rc is defined and vmware_guest_result.rc != 0