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:
Till Maas 2020-05-11 17:31:23 +02:00
parent da918d0712
commit 4c6db0c90d

View file

@ -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: