From 4c6db0c90d3b786bbe28332276a768a4be197480 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Mon, 11 May 2020 17:31:23 +0200 Subject: [PATCH] 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. --- tests/playbooks/tests_checkpoint_cleanup.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/playbooks/tests_checkpoint_cleanup.yml b/tests/playbooks/tests_checkpoint_cleanup.yml index 8a4cc07..653e2ee 100644 --- a/tests/playbooks/tests_checkpoint_cleanup.yml +++ b/tests/playbooks/tests_checkpoint_cleanup.yml @@ -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: