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:
parent
fd18ade465
commit
a3ad614759
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue