1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
David Newswanger 2017-08-10 10:53:13 -04:00 committed by Trishna Guha
parent fd18ade465
commit a3ad614759
2 changed files with 2 additions and 0 deletions

View file

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

View file

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