ignore failures when trying to remove interfaces that are already missing using nxos_config (#28003)

pull/28007/head
David Newswanger 7 years ago committed by Trishna Guha
parent fd18ade465
commit a3ad614759

@ -6,6 +6,7 @@
lines: lines:
- no interface Loopback1 - no interface Loopback1
provider: "{{ cli }}" provider: "{{ cli }}"
ignore_errors: yes # Fails if the interface is already absent
- name: set state=present - name: set state=present
nxos_interface: nxos_interface:

@ -6,6 +6,7 @@
lines: lines:
- no interface Loopback1 - no interface Loopback1
provider: "{{ nxapi }}" provider: "{{ nxapi }}"
ignore_errors: yes # Fails if the interface is already absent
- name: set state=present - name: set state=present
nxos_interface: nxos_interface:

Loading…
Cancel
Save