enables reusability of this collection for molecule scenarios

This commit is contained in:
emo 2023-12-02 03:26:11 +01:00
parent 46a0ea86ce
commit b0ec8dc91b
3 changed files with 10 additions and 3 deletions

View File

@ -3,8 +3,11 @@
hosts: all
gather_facts: false
- name: imports and executes the playbook under test
ansible.builtin.import_playbook: ../../../launch_linux_container.yml
ansible.builtin.import_playbook:
theliberatededge.test_linux_containers.launch_linux_container.yml
vars:
lte_debian_version: bookworm
lte_container_name: '{{ molecule_yml.platforms[0].name }}'
lte_container_root_pwd: '{{ lookup("ansible.builtin.env", "LTE_CONTAINER_ROOT_PWD") }}'
lte_container_name:
'{{ molecule_yml.platforms[0].name }}'
lte_container_root_pwd:
'{{ lookup("ansible.builtin.env", "LTE_CONTAINER_ROOT_PWD") }}'

4
requirements-test.yml Normal file
View File

@ -0,0 +1,4 @@
---
collections:
- source: .
type: dir