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

auth_kind should not be required as there is a fallback GCP_AUTH_KIND #663

Open
DeLoWaN opened this issue Dec 6, 2024 · 0 comments
Open

Comments

@DeLoWaN
Copy link

DeLoWaN commented Dec 6, 2024

SUMMARY

In every module, auth_kind parameter is set to required=true, although this is not true since it has a fallback to the env var GCP_AUTH_KIND.

It should then be false since modules can be called without that parameter specified.

Additionally, ansible-lint list it as a fatal error in strict mode:

WARNING  Listing 2 violation(s) that are fatal
ansible/roles/build_vm_windows_image/tasks/main.yml:70: args[module]: missing required arguments: auth_kind (warning)
ansible/roles/build_vm_windows_image/tasks/main.yml:85: args[module]: missing required arguments: auth_kind (warning)

What do you think ?

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

No branches or pull requests

1 participant