diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b74bb42af8490d1df7afa3e0040db4764e190be..036667cfbca411729ff68e2ca7a49362db2ef76b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,10 @@ default: - tree - rm -rf ../ansible_vaults/ - git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/; + after_script: + - source /opt/molecule/bin/activate + - molecule destroy --scenario-name ${SCENARIO} + variables: SCENARIO: "default" # ANSIBLE_VAULT_PASSWORD_FILE: "molecule/lza_server_hardening.pass"