Ansible-Molecule Proxmox-VE Driver
This repository holds an Ansible-Molecule driver for Proxmox-VE.
It enables you to dynamically create VM's on latest Proxmox-VE nodes and target them with integration-tests.
Install
First, you have to install these ansible-collections:
ansible-galaxy collection install community.proxmox>=2.0.0
ansible-galaxy collection install oxlorg.molecule_pve
# or
ansible-galaxy collection install git+https://github.com/ansible-collections/community.proxmox.git,2.0.0
ansible-galaxy collection install git+https://github.com/O-X-L/ansible-molecule-pve-utils.git
Then you can install the molecule driver itself:
pip install --upgrade molecule-pve
# or
pip install --upgrade git+https://github.com/O-X-L/ansible-molecule-pve
Documentation
See: ansible-molecule-pve.oxl.app
Contribute
You are welcome to report issues/bugs and/or supply patches/features drafts.
When contributing via PR's, please mention if/how you used AI and if so - how you reviewed/tested those auto-generated changes.
Authors / Credits
This is a fork of the molecule-proxmox module, which was originally created by Michael Meffie.
It was modified and enhanced by Pascal Rath.
We decided to create this fork, as the original module is not in a functional state with current default ansible-installations.
So we refactored it to make it work with the currently supported community.proxmox Ansible-collection.
We also implemented some enhancements:
- async/parallel creation/start/destroy of Test-VMs to speed-up execution
- support form platform-specific
/etc/hostsentries - some config-sanity checks
AI Usage
AI is used to speed-up development. All changes are reviewed, logically evaluated and tested manually.
Release files for molecule-pve 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| molecule_pve-0.9.2.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| molecule_pve-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.5 kB
Release files / molecule_pve-0.9.2.tar.gz
| Download URL | molecule_pve-0.9.2.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ed30f79865c86fc0e5ead4fdba3d319cd6b77d0ecb6a863320bff27e793a083
|
|
BLAKE2b-256 checksum How to use checksums |
362065b8ce6ed8e11b625175ee970469c7aae273b39ead8792882693f0ef5c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Release files / molecule_pve-0.9.2-py3-none-any.whl
| Download URL | molecule_pve-0.9.2-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95b5a95cd3624ea2c6fa78307c304a8ac3598eb789cd41eaf60a7c25e6d0fd54
|
|
BLAKE2b-256 checksum How to use checksums |
d2f0e1841814769c5dac9eec9c667be7d6be480ad028464a9df3817647edcd09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|