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

Unpin ansible-lint #85

Merged
merged 2 commits into from
Oct 21, 2021
Merged

Unpin ansible-lint #85

merged 2 commits into from
Oct 21, 2021

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Sep 7, 2021

🗣 Description

This pull request:

  • Unpins ansible-lint (it was previously restricted to be <5)
  • Adds a configuration file for ansible-lint
  • Adds a cisagov namespace to the role metadata

💭 Motivation and context

We have been avoiding version 5 of ansible-lint for a while because it introduced some breaking changes. The dust has now settled, and I have a way forward (thanks to @geerlingguy).

Resolves #69.

🧪 Testing

All pre-commit hooks and molecule tests pass.

✅ Checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

We can now move to version 5 with impunity.  I have a path forward,
largely following in the footsteps of @geerlingguy.
@jsf9k jsf9k added blocked This issue or pull request is awaiting the outcome of another issue or pull request improvement This issue or pull request will add or improve functionality, maintainability, or ease of use labels Sep 7, 2021
@jsf9k jsf9k self-assigned this Sep 7, 2021
@jsf9k jsf9k marked this pull request as ready for review September 7, 2021 20:38
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

Looks good- thanks for delving into this! 🚫📌

Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

Thanks for keeping an eye on this while we waited! I just had one request around version pinning given our previous experience.

requirements-test.txt Outdated Show resolved Hide resolved
@mcdonnnj pointed out that this will keep us from being blindsided by future changes.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
@jsf9k jsf9k requested a review from mcdonnnj September 7, 2021 21:29
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

:godmode:

@jsf9k jsf9k added the hacktoberfest-accepted Pull request that should count toward Hacktoberfest participation label Oct 1, 2021
mcdonnnj added a commit to cisagov/skeleton-generic that referenced this pull request Oct 1, 2021
This file is copied from cisagov/skeleton-ansible-role#85 and tweaked to pass
pre-commit. See here for for a list of the elements that can exist in this
file: https://ansible-lint.readthedocs.io/en/latest/configuring.html

Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
mcdonnnj added a commit to cisagov/skeleton-generic that referenced this pull request Oct 19, 2021
This file is copied from cisagov/skeleton-ansible-role#85 and tweaked to pass
pre-commit. See here for for a list of the elements that can exist in this
file: https://ansible-lint.readthedocs.io/en/latest/configuring.html

Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
mcdonnnj added a commit to cisagov/skeleton-generic that referenced this pull request Oct 19, 2021
This file is copied from cisagov/skeleton-ansible-role#85 and tweaked to pass
pre-commit. See here for for a list of the elements that can exist in this
file: https://ansible-lint.readthedocs.io/en/latest/configuring.html

Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
@mcdonnnj mcdonnnj force-pushed the improvement/upgrade-ansible-lint branch from 534864f to 019d307 Compare October 21, 2021 19:09
@mcdonnnj mcdonnnj merged commit 26c0338 into develop Oct 21, 2021
@mcdonnnj mcdonnnj deleted the improvement/upgrade-ansible-lint branch October 21, 2021 19:27
Sallenmoore pushed a commit to Sallenmoore/foundryvtt-docker that referenced this pull request Jun 18, 2023
This file is copied from cisagov/skeleton-ansible-role#85 and tweaked to pass
pre-commit. See here for for a list of the elements that can exist in this
file: https://ansible-lint.readthedocs.io/en/latest/configuring.html

Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This issue or pull request is awaiting the outcome of another issue or pull request hacktoberfest-accepted Pull request that should count toward Hacktoberfest participation improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Molecule builds currently broken
3 participants