generated from the-liberated-edge/wikijs
# Issue This PR implements the-liberated-edge/test_linux_containers#8 # Acceptance criteria - [x] The existing playbook has been amended, so that it creates and publishes container images to an incus server running locally. - [x] Container image name has been parameterised and provided as an Ansible variable. Co-authored-by: Emil <emil@theliberatededge.org> Reviewed-on: #22
15 lines
426 B
YAML
15 lines
426 B
YAML
---
|
|
- name: Destroy testing resources
|
|
hosts: localhost
|
|
connection: local
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Stop and remove the test container
|
|
ansible.builtin.include_role:
|
|
name: >-
|
|
theliberatededge.test_linux_containers.linux_container
|
|
vars:
|
|
lte_container_state: absent
|
|
lte_container_name: '{{ item.name }}-container'
|
|
with_items: '{{ molecule_yml.platforms }}'
|