{"id":15018294,"url":"https://github.com/gofrolist/molecule-action","last_synced_at":"2026-02-14T03:30:03.168Z","repository":{"id":37096982,"uuid":"229218867","full_name":"gofrolist/molecule-action","owner":"gofrolist","description":"GitHub Action for running molecule as part of your workflows!","archived":false,"fork":false,"pushed_at":"2026-01-24T01:02:57.000Z","size":1480,"stargazers_count":58,"open_issues_count":7,"forks_count":24,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-24T13:10:10.330Z","etag":null,"topics":["ansible","molecule"],"latest_commit_sha":null,"homepage":"https://molecule.readthedocs.io","language":"Go Template","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gofrolist.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-20T08:02:59.000Z","updated_at":"2026-01-24T01:00:58.000Z","dependencies_parsed_at":"2023-01-11T17:21:12.114Z","dependency_job_id":"a0b502b2-eb18-46c6-9c07-b0fe00148ddf","html_url":"https://github.com/gofrolist/molecule-action","commit_stats":{"total_commits":452,"total_committers":13,"mean_commits":34.76923076923077,"dds":"0.36946902654867253","last_synced_commit":"580d6bbf1cdd45a0f38519313003003c15d6b467"},"previous_names":[],"tags_count":197,"template":false,"template_full_name":null,"purl":"pkg:github/gofrolist/molecule-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofrolist%2Fmolecule-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofrolist%2Fmolecule-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofrolist%2Fmolecule-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofrolist%2Fmolecule-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gofrolist","download_url":"https://codeload.github.com/gofrolist/molecule-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofrolist%2Fmolecule-action/sbom","scorecard":{"id":433785,"data":{"date":"2025-08-11","repo":{"name":"github.com/gofrolist/molecule-action","commit":"50aba8a1f3eb94135cae869cb4a5b4ccbb7c27f2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/release.yml:127","Info: jobLevel 'contents' permission set to 'read': .github/workflows/release.yml:83","Warn: topLevel 'contents' permission set to 'write': .github/workflows/automerge.yml:8","Warn: topLevel 'contents' permission set to 'write': .github/workflows/publish.yml:19","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/automerge.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/automerge.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:135: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:160: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/gofrolist/molecule-action/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:3","Warn: containerImage not pinned by hash: Dockerfile:46","Warn: pipCommand not pinned by hash: Dockerfile:29-35","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  14 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.7.68 not signed: https://api.github.com/repos/gofrolist/molecule-action/releases/238730307","Warn: release artifact v2.7.67 not signed: https://api.github.com/repos/gofrolist/molecule-action/releases/237026536","Warn: release artifact v2.7.66 not signed: https://api.github.com/repos/gofrolist/molecule-action/releases/230135600","Warn: release artifact v2.7.65 not signed: https://api.github.com/repos/gofrolist/molecule-action/releases/226802589","Warn: release artifact v2.7.64 not signed: https://api.github.com/repos/gofrolist/molecule-action/releases/225293583","Warn: release artifact v2.7.68 does not have provenance: https://api.github.com/repos/gofrolist/molecule-action/releases/238730307","Warn: release artifact v2.7.67 does not have provenance: https://api.github.com/repos/gofrolist/molecule-action/releases/237026536","Warn: release artifact v2.7.66 does not have provenance: https://api.github.com/repos/gofrolist/molecule-action/releases/230135600","Warn: release artifact v2.7.65 does not have provenance: https://api.github.com/repos/gofrolist/molecule-action/releases/226802589","Warn: release artifact v2.7.64 does not have provenance: https://api.github.com/repos/gofrolist/molecule-action/releases/225293583"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:22"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":-1,"reason":"internal error: internal error: Client.Checks.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: Although you appear to have the correct authorization credentials, the `bridgecrewio` organization has an IP allow list enabled, and your IP address is not permitted to access this resource.","details":null,"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T04:05:23.328Z","repository_id":37096982,"created_at":"2025-08-19T04:05:23.328Z","updated_at":"2025-08-19T04:05:23.328Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29433795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T02:20:56.896Z","status":"ssl_error","status_checked_at":"2026-02-14T02:11:29.478Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","molecule"],"created_at":"2024-09-24T19:51:47.942Z","updated_at":"2026-02-14T03:30:03.144Z","avatar_url":"https://github.com/gofrolist.png","language":"Go Template","funding_links":[],"categories":["Building"],"sub_categories":["Workflows"],"readme":"# Molecule for GitHub Action\n[![Docker Pulls](https://img.shields.io/docker/pulls/gofrolist/molecule)](https://hub.docker.com/r/gofrolist/molecule)\n[![License](https://img.shields.io/github/license/gofrolist/molecule-action)](LICENSE)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nThis GitHub action allows you to run [Molecule](https://molecule.readthedocs.io/en/stable/) to test [Ansible](https://www.ansible.com/) role.\n\n## Inputs\n\n```yaml\n  molecule_options:\n    description: |\n      Options:\n        --debug / --no-debug    Enable or disable debug mode. Default is disabled.\n        -v, --verbose           Increase Ansible verbosity level. Default is 0.  [x\u003e=0]\n        -c, --base-config TEXT  Path to a base config (can be specified multiple times). If provided, Molecule will first load and deep merge the configurations in the specified order, and deep merge each scenario's molecule.yml on top. By default Molecule is looking for\n                                '.config/molecule/config.yml' in current VCS repository and if not found it will look in user home. (None).\n        -e, --env-file TEXT     The file to read variables from when rendering molecule.yml. (.env.yml)\n        --version\n        --help                  Show this message and exit.\n    required: false\n\n  molecule_command:\n    description: |\n      Commands:\n        check        Use the provisioner to perform a Dry-Run (destroy, dependency, create, prepare, converge).\n        cleanup      Use the provisioner to cleanup any changes made to external systems during the stages of testing.\n        converge     Use the provisioner to configure instances (dependency, create, prepare converge).\n        create       Use the provisioner to start the instances.\n        dependency   Manage the role's dependencies.\n        destroy      Use the provisioner to destroy the instances.\n        drivers      List drivers.\n        idempotence  Use the provisioner to configure the instances and parse the output to determine idempotence.\n        init         Initialize a new role or scenario.\n        lint         Lint the role (dependency, lint).\n        list         List status of instances.\n        login        Log in to one instance.\n        matrix       List matrix of steps used to test instances.\n        prepare      Use the provisioner to prepare the instances into a particular starting state.\n        reset        Reset molecule temporary folders.\n        side-effect  Use the provisioner to perform side-effects to the instances.\n        syntax       Use the provisioner to syntax check the role.\n        test         Test (dependency, lint, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy).\n        verify       Run automated tests against instances.\n    required: true\n    default: 'test'\n\n  molecule_args:\n    description: |\n      Arguments:\n        -s, --scenario-name TEXT        Name of the scenario to target. (default)\n        -d, --driver-name [delegated|docker]\n                                        Name of driver to use. (delegated)\n        --all / --no-all                Test all scenarios. Default is False.\n        --destroy [always|never]        The destroy strategy used at the conclusion of a Molecule run (always).\n        --parallel / --no-parallel      Enable or disable parallel mode. Default is disabled.\n    required: false\n\n  molecule_working_dir:\n    description: |\n      Path to another directory in the repository, where molecule command will be issued from.\n      Useful in those cases where Ansible roles are not in git repository root.\n    required: false\n    default: '${GITHUB_REPOSITORY}'\n```\n\n## Usage\nTo use the action simply create an `main.yml` (or choose custom `*.yml` name) in the `.github/workflows/` directory.\n\n### Basic example:\n\n```yaml\non: push\n\njobs:\n  molecule:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          path: \"${{ github.repository }}\"\n      - uses: gofrolist/molecule-action@v2\n```\n\n\u003eNOTE: By default molecule is going to look for configuration at `molecule/*/molecule.yml`, so if option `molecule-working-dir` is not provided,\n\u003echeckout action needs to place the file in ${{ github.repository }} in order for Molecule to find your role. If your role is placed somewhere else\n\u003ein the repository, ensure that `molecule-working-dir` is set up accordingly, in order to `cd` to that directory before issuing `molecule` command.\n\n### Advanced example:\n\n```yaml\nname: Molecule\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  molecule:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        scenario:\n          - centos-8\n          - debian-10\n          - fedora-34\n          - oraclelinux-8\n          - ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          path: \"${{ github.repository }}\"\n      - name: Molecule\n        uses: gofrolist/molecule-action@v2\n        with:\n          molecule_options: --debug --base-config molecule/_shared/base.yml\n          molecule_command: test\n          molecule_args: --scenario-name ${{ matrix.scenario }}\n        env:\n          ANSIBLE_FORCE_COLOR: '1'\n```\n\n\u003e TIP: N.B. Use `gofrolist/molecule-action@v2` or any other valid tag, or branch, or commit SHA instead of `v2` to pin the action to use a specific version.\n\n## Troubleshooting\nIf you see this error while you executing `apt_key` task\n```\nFAILED! =\u003e {\"changed\": false, \"msg\": \"Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin\"}\n```\nThat means your docker image require some python modules `gpg` and you can install them in molecule prepare step or embed it in your dockerfile.\n```yaml\n---\n- name: Prepare\n  hosts: all\n\n  tasks:\n    - name: dependency for apt_key\n      apt:\n        name: python3-gpg\n        state: present\n        update_cache: true\n```\n\nIf you see this error while you executing `pip` task\n```\nFAILED! =\u003e {\"changed\": false, \"msg\": \"No package matching 'python-pip' is available\"}\n```\nThat means your docker image is missing `pip` and you can install them in molecule prepare step or embed it in your dockerfile.\n```yaml\n---\n- name: Prepare\n  hosts: all\n\n  tasks:\n    - name: dependency for pip\n      apt:\n        name: python3-pip\n        state: present\n        update_cache: true\n```\n\nIf you are trying to install any Python packages in order to run your Molecule\ntests such as the OpenStack SDK and getting errors such as this:\n\n```\nfatal: [localhost]: FAILED! =\u003e {\"changed\": false, \"msg\": \"openstacksdk is required for this module\"}\n```\n\nYou will need to do the following:\n\n1. Switch the dependency driver to `shell` inside Molecule, like this:\n\n   ```yaml\n   dependency:\n     name: shell\n     command: \"${MOLECULE_SCENARIO_DIRECTORY}/tools/install-dependencies\"\n   ```\n\n2. Once you have that, create a file in your scenario inside a `tools` folder\n   and place whatever you need inside of it, such as:\n\n   ```bash\n   #!/bin/sh\n\n   # Install OpenStack SDK\n   pip install \\\n     --extra-index-url https://vexxhost.github.io/wheels/alpine-3.15/ \\\n     'openstacksdk\u003c0.99.0'\n   ```\n\n   You will have to manually install any other dependencies that you were using\n   Galaxy for, but that should be trivial to add with a few\n   simple `ansible-galaxy` commands.\n\n## Maintenance\n\n\u003e Make the new release available to those binding to the major version tag: Move the major version\n\u003e tag (v1, v2, etc.) to point to the ref of the current release. This will act as the stable release\n\u003e for that major version. You should keep this tag updated to the most recent stable minor/patch\n\u003e release.\n\n```sh\ngit tag -fa v2 -m \"Update v2 tag\" \u0026\u0026 git push origin v2 --force\n```\n\n**Reference**:\nhttps://github.com/actions/toolkit/blob/master/docs/action-versioning.md#recommendations\n\n## License\nThe Dockerfile and associated scripts and documentation in this project are released under the [MIT](license).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgofrolist%2Fmolecule-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgofrolist%2Fmolecule-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgofrolist%2Fmolecule-action/lists"}