Skip to content
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

63-ansible-lint - [ansible] Add Ansible Lint #64

Merged
merged 8 commits into from
Jun 17, 2022
Merged

Conversation

sureshjoshi
Copy link
Owner

@sureshjoshi sureshjoshi commented Jun 14, 2022

A modified subset of #54

Closes #63

@sureshjoshi
Copy link
Owner Author

Still missing some tests

Copy link
Contributor

@lilatomic lilatomic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic looks good, I think there are a few minor problems:

  • I think there's a problem with the config files, I don't think they're resolved recursively.
  • the community.docker collection isn't installed, so ansible-lint aborts with that as a single error instead of doing the full lint

@sureshjoshi
Copy link
Owner Author

  • the community.docker collection isn't installed, so ansible-lint aborts with that as a single error instead of doing the full lint

Yep, I went with ansible-core, because full ansible is such a huge dep hit. I did it in testing, but I guess didn't push it - but yeah, I need to stick with the builtin collections

@sureshjoshi sureshjoshi merged commit b216fe2 into main Jun 17, 2022
@sureshjoshi sureshjoshi deleted the 63-ansible-lint branch June 17, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ansible] Add Ansible linter
2 participants