-
Notifications
You must be signed in to change notification settings - Fork 395
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
All ansible actions should use fully-qualified collection name #1312
Comments
@mboersma: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Let's try to fix #1313 first, since fixing this will also include those changes and it would be saner to review separately. |
I am new to contributing to opensource. I would like to take this up as my first issue. |
@pranavp2005 I think @khannakshat7 claimed this one first, just fyi. I think we should wait for #1338 to merge before making this change. Otherwise |
Okay, thank you for informing me. |
@pranavp2005 we haven't heard anything from @khannakshat7 so if you're still available to take this on, please do. Sorry to slow things down. |
Here are updated commands that should help to create this PR: cd images/capi
rm .ansible-lint-ignore
ansible-lint --fix=fqcn ansible
make lint-ignore
git add .
git commit -m "Ansible actions use fully-qualified collection names" |
/unassign |
Can I work on this issue? |
Sure thing! Thank you for offering! /assign @jongwooo |
What steps did you take and what happened:
Run
make -C images/capi lint
and see that there are numerous warnings fromansible-lint
that the project is ignoring.In particular, there are many "FQCN" warnings. It's safer and generally preferable to use the full name of ansible actions–that is,
community.windows.win_firewall_rule
instead of justwin_firewall_rule
, for example.What did you expect to happen:
Running
make -C images/capi lint
shouldn't result in anyfqcn[action]
warnings.Anything else you would like to add:
One way to accomplish this:
ansible-lint --fix=fqcn images/capi/ansible make -C images/capi lint-ignore git add images/capi git commit -m "Ansible actions use fully-qualified collection names"
These commands:
fqcn
type of warning automatically.ansible-lint-ignore
file so these warnings won't be ignored in the futureThen run
make -C images/capi lint
to ensure it's passing, and create a PR.Environment:
N/A
/kind bug
/help
/good-first-issue
The text was updated successfully, but these errors were encountered: