Skip to content

alvistack/ansible-role-molecule

Repository files navigation

Ansible Role for Molecule

AlviStack

Gitlab pipeline status GitHub tag GitHub license Ansible Role

Ansible Role for Molecule Installation (what the hell is this!?).

Molecule 3.1.1+ only keep Delegated Driver in core, therefore additional drivers support (e.g. docker, podman, vagrant, etc) and corresponding dependencies should be handled manually.

Following Molecule drivers are supported by this role:

Requirements

This role require Ansible community package 4.10 or higher.

This role was designed for:

  • Ubuntu 20.04, 22.04, 24.04
  • AlmaLinux 8, 9
  • openSUSE Leap 15.5, 15.6, Tumbleweed
  • Debian 11, 12, Testing
  • Fedora 39, 40, Rawhide
  • CentOS 7, 8 Stream, 9 Stream
  • RHEL 7, 8, 9

Role Variables

defaults/main.yml

Dependencies

ansible-galaxy-requirements.yml

Example Playbook

molecule/default/converge.yml

This role could simply deploy to localhost as below:

molecule converge -s default

License

Author Information