i-1 Introduces an Ansible playbook for linux-container with SSH access

# Issue

This PR implements the following [issue](the-liberated-edge/test-linux-containers#1).

# Acceptance criteria

- [x] A playbook for launching LXD Debian container with parameterized container name and OS version has been implemented.
- [x] The newly launched Linux containers can be connected to and administered via SSH.
- [x] The playbook has been part of an Ansible collection named theliberatededge.test_linux_containers.
- [x] Setup and getting started technical documentation has been added to README.md.

Co-authored-by: emo <esimeonov@gmail.com>
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
emo
2024-01-07 00:48:19 +00:00
parent d55df8a7d0
commit 0fb9c88890
24 changed files with 1506 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
---
- name: Converge
hosts: all
gather_facts: false
- name: imports and executes the playbook under test
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") }}'