-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible lint #50
Ansible lint #50
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.travis.yml
Outdated
python: "2.7" | ||
|
||
before_install: | ||
- sudo apt-get update -qq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this step? If it's not useful let's remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed! I added it because at first I thought ansible-lint
would need ansible
installed, but since it's not the case, let's delete it.
This ensures a minimum checkstyle is done on each push. ANSIBLE0010 is deliberately excluded since it can be argued that ensure=latest is actually the wanted behavior.
Thanks for the comments and for the good welcome of the PR :-P. I cleaned the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 Thanks @eplanet!
This is a proposition to activate a kind of Ansible check-style enforcement using
ansible-lint
. It currently only ignores[EANSIBLE0010] Package installs should not use latest
since I'm not sure how you'd like to fix it.Please share your thoughts.