emil dff665ba36 i-8 Implements image creation and publishing in playbook (#22)
# 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
2024-03-07 01:41:39 +00:00

13 lines
419 B
YAML

---
- name: Converge
hosts: all
gather_facts: false
- name: imports and executes the playbook under test
ansible.builtin.import_playbook: >-
theliberatededge.test_linux_containers.image_published_locally.yml
vars:
lte_debian_version: bookworm
lte_image_name: '{{ molecule_yml.platforms[0].name }}'
lte_container_root_pwd: |-
'{{ lookup("ansible.builtin.env", "LTE_CONTAINER_ROOT_PWD") }}'