Documentation for the collection jomrr.general.
Used with roles kickstart and virtinstall to generate reproducable MACs for VMs.
Specify the requirements file in molecule.yml:
---
# file: molecule/default/molecule.yml
dependency:
name: galaxy
options:
requirements-file: requirements.yml
---
collections:
- name: git+https://github.com/jomrr/ansible-collection-general.git
version: main
This automatically installs into the namespace jomrr defined in galaxy.yml
.
Usage in role task to generate 2 MACs for host test_guest
:
- name: "Generate reproducable MAC Address(es) from name/fqdn"
jomrr.general.gen_mac_from_name:
name: "test_guest"
count: 2
Licensed under MIT License. See LICENSE file in repository.