Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes 2 different warning that you receiving when calling the modules in this collection.
First is the warning that you receive when using user/password authentication instead of token-based authentication. In the case they you do not use user/password authentication by not specifying the parameters
user
andpassword
you still receive a warning due to the check looking for only in the case that bothuser
andpassword
are empty strings. This PR fixes this by replacing those checks against empty strings for a check againstNone
.The second warning occurs if you use the parameter
common_name
. Since the parametercommon_name
has an alias that matches the name, you receive a warning from Ansible saying that you are usingcommon_name
and its aliascommon_name
. This removes the duplicate alias to remove that warning.