To contribute to ansible-lint, please use pull requests on a branch of your own fork.
After creating your fork on GitHub, you can do:
git clone [email protected]:yourname/ansible-lint
cd ansible-lint
git checkout -b your-branch-name
DO SOME CODING HERE
git add your new files
git commit --signoff
git push origin your-branch-name
Contributors to ansible-lint must agree to DCO 1.1
You will then be able to create a pull request from your commit.
All fixes to core functionality (i.e. anything except rules or examples) should be accompanied by tests that fail prior to your change and succeed afterwards.
Feel free to raise issues in the repo if you don't feel able to contribute a code fix.
ansible-lint is flake8 compliant with max-line-length
set to 100
(see setup.cfg).
ansible-lint works with both Ansible 1.9 and Ansible 2.0 onwards. This will be the case for the foreseeable future, so please ensure all contributions work with both.
Automated tests will be run against all PRs for flake8 compliance and Ansible
compatibility - to check before pushing commits, just use tox
.
Discussion around ansible-lint happens in #ansible-galaxy
IRC channel on Freenode and the Ansible Development List
For the full list of Ansible IRC and Mailing list, please see the Ansible Communication page Release announcements will be made to the Ansible Announce list.
Possible security bugs should be reported via email to [email protected]
As with all Ansible projects, we have a Code of Conduct