## Molecule extensions added
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 54s
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 54s
This commit is contained in:
1 parent
e3a2901cba
commit
aa8e17efa9
7 files changed
+208
-1
No files matched your search
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Destroy molecule containers
|
||||
hosts: molecule
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Stop and remove container
|
||||
delegate_to: localhost
|
||||
community.docker.docker_container:
|
||||
name: "{{ inventory_hostname }}"
|
||||
state: absent
|
||||
auto_remove: true
|
||||
|
||||
- name: Remove dynamic molecule inventory
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Remove dynamic inventory file
|
||||
ansible.builtin.file:
|
||||
path: "{{ molecule_ephemeral_directory }}/inventory/molecule_inventory.yml"
|
||||
state: absent
|
||||
Reference in new issue
Block a user