From 2ad234f98e45a1057a85aed86461bd0be38e5795 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sun, 15 Jul 2018 23:03:39 +0200 Subject: [PATCH] aci_ap: Ensure AP is removed before tests start (#42744) --- test/integration/targets/aci_ap/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/targets/aci_ap/tasks/main.yml b/test/integration/targets/aci_ap/tasks/main.yml index 6d3da16fd4..529f612724 100644 --- a/test/integration/targets/aci_ap/tasks/main.yml +++ b/test/integration/targets/aci_ap/tasks/main.yml @@ -21,6 +21,12 @@ tenant: anstest register: tenant_present +- name: ensure ap does not exist initially + aci_ap: + <<: *aci_tenant_present + ap: anstest + state: absent + - name: create ap - check mode works aci_ap: &aci_ap_present <<: *aci_tenant_present