mirror of
https://github.com/linux-system-roles/network.git
synced 2026-08-04 00:32:25 +00:00
Tests: Fix cleanup for checkpoint test
In some fail cases, the ifcfg-cptstbr file might not be removed by cleaning up with the network role. Therefore remove it explicitly.
This commit is contained in:
parent
da918d0712
commit
4c6db0c90d
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@
|
|||
- name: "{{ interface }}"
|
||||
persistent_state: absent
|
||||
state: down
|
||||
- file:
|
||||
dest: /etc/sysconfig/network-scripts/ifcfg-cptstbr
|
||||
state: absent
|
||||
- command: ip link del "{{ interface }}"
|
||||
ignore_errors: true
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue