Molecule QEMU
Project description
molecule-qemu
Molecule QEMU driver for testing Ansible roles.
Usage
pip install molecule-qemu
Dependencies
brew install qemu cdrtools
Example scenario
molecule init scenario scenario_name -d molecule-qemu
Example molecule.yml
---
dependency:
name: galaxy
driver:
name: molecule-qemu
platforms:
- name: ubuntu-1
image: ~/Downloads/focal-server-cloudimg-arm64.img
image_arch: aarch64
ssh_port: 10022
ssh_user: ubuntu
- name: ubuntu-2
image: ~/Downloads/focal-server-cloudimg-amd64.img
image_arch: x86_64 # default
ssh_port: 10023
ssh_user: ubuntu
- name: debian-1
image: ~/Downloads/debian-11-generic-amd64.qcow2
image_arch: x86_64 # default
ssh_port: 10024
ssh_user: debian
provisioner:
name: ansible
verifier:
name: ansible
Cloud Images
Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
molecule-qemu-0.2.0.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for molecule_qemu-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd4e8fd1d41913d06754e9432feee31f129a05cccfcea0b61e43aa49e524aef |
|
MD5 | 4b717720003216d90f827759040d5481 |
|
BLAKE2b-256 | 05f8edf79e6713607b7dba4f98703ab0197ba037724511b9521bd25fe1597239 |