Skip to content
play

GitHub Action

Test Ansible with Molecule

0.0.5 Latest version

Test Ansible with Molecule

play

Test Ansible with Molecule

Github Action for testing ansible with Molecule

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Test Ansible with Molecule

uses: arillso/action.molecule@0.0.5

Learn more about this action in arillso/action.molecule

Choose a version

Action: Test Ansible with Molecule

GitHub Action for testing ansible with Molecule.

Inputs

command

Default 'test'

What command to pass to molecule, for example lint or syntax.

working_directory

Default '${{ github.repository }}'

Path to another directory in the repository, where molecule command will be issued from.

scenario

Default 'default'

The molecule scenario to run.

Example Usage

- name: Test Ansible with Molecule
  uses: arillso/action.molecule@0.0.1
  with:
    command: test
    working_directory: ${{ github.repository }}
    scenario: default

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2020, Arillso