Skip to content
activity

GitHub Action

ansible-lint

v4.1.0.post0 Latest version

Ansible Lint for GitHub Action

This action allows you to run ansible-lint with no additional options.

Usage

To use the action simply add the following lines to your .github/main.workflow.

action "Lint Ansible Playbook" {
  uses = "ansible/ansible-lint-action@master"
}

N.B. Use v4.1.0 or any other valid tag, or branch, or commit SHA instead of master to pin the action to use a specific version.

Environment Variables

  • ACTION_PLAYBOOK_NAME: (optional) defaults to playbook.yml

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT.

Credits

The initial GitHub action has been created by Stefan Stölzle at stoe/actions.

You can’t perform that action at this time.