Skip to content

Capgemini/step-ansible-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Ansible-lint

wercker status

A step to run ansible-lint on an Ansible playbook.

Dependencies

This build-step depends on ansible / ansible-lint being installed, if it's missing, the buildstep wil fail. Please install those in your box wercker.yml

You can do this as follows -

build:
  steps:
    - pip-install
        requirements_file: ""
        packages_list: "ansible ansible-lint"

## Usage

build:
  steps:
    - capgemini/ansible-lint:
        playbook: path/to/playbook.yml
        options: "-t TAGS"

Paths are relative to the top-level directory of the repo. playbook is required and options is optional. The default for options is "".

For a list of supported options see https://github.com/willthames/ansible-lint#usage

## License

The MIT License (MIT)

Releases

No releases published

Packages

No packages published

Languages