From abb3ddcbf0af0cd466dbed3e9056c8e3af4864ee Mon Sep 17 00:00:00 2001
From: pwalczysko
Date: Fri, 15 Nov 2024 11:44:16 +0000
Subject: [PATCH] Return the -destroy step and comment better the testing
scenario
---
molecule/ome-demoserver/molecule.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/molecule/ome-demoserver/molecule.yml b/molecule/ome-demoserver/molecule.yml
index c84643ea..b09507f8 100644
--- a/molecule/ome-demoserver/molecule.yml
+++ b/molecule/ome-demoserver/molecule.yml
@@ -47,10 +47,9 @@ provisioner:
scenario:
name: ome-demoserver
test_sequence:
+ # dependency must come first, otherwise the first "destroy" errors
- dependency
- destroy
- # dependency must come first so that ansible-lint will see a custom module
- # This might be fixed by https://github.com/ansible/molecule/pull/1739
- dependency
- syntax
- create
@@ -59,6 +58,6 @@ scenario:
# FIXME: Some tasks are not idempotent
# - idempotence
- verify
- # - destroy
+ - destroy
verifier:
name: testinfra