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
Updating known_hosts module Docs #58785
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The test
|
ansibot
added
affects_2.9
This issue/PR affects Ansible v2.9
ci_verified
Changes made in this PR are causing tests to fail.
docs
This issue/PR relates to or includes documentation.
module
This issue/PR relates to a module.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
needs_triage
Needs a first human triage before being processed.
new_contributor
This PR is the first contribution by a new community member.
small_patch
support:community
This issue/PR relates to code supported by the Ansible community.
system
System category
labels
Jul 5, 2019
@kedark3 Thanks for the contribution. Could you please address #58785 (comment) ? Thanks. |
ansibot
removed
the
needs_triage
Needs a first human triage before being processed.
label
Jul 6, 2019
@Akasurde thanks. Updated my PR. |
ansibot
added
community_review
In order to be merged, this PR must follow the community review workflow.
and removed
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Jul 6, 2019
##### SUMMARY When I came across this module for the first time I ran into errors as I could not understand from the docs that I need to mention hostname in key attribute and also use same in `name`/`host` attribute. Hence adding some clarity around the same. ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr
@Akasurde Can you please review this? Do you have merge rights? |
samccann
approved these changes
Jul 11, 2019
Thanks @kedark3 for the Ansible documentation fix! |
dagwieers
added
the
docsite_pr
This PR is created from documentation using the "Edit on GitHub" link.
label
Sep 5, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.9
This issue/PR affects Ansible v2.9
community_review
In order to be merged, this PR must follow the community review workflow.
docs
This issue/PR relates to or includes documentation.
docsite_pr
This PR is created from documentation using the "Edit on GitHub" link.
module
This issue/PR relates to a module.
new_contributor
This PR is the first contribution by a new community member.
support:community
This issue/PR relates to code supported by the Ansible community.
system
System category
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.
SUMMARY
When I came across this module for the first time I ran into errors as I could not understand from the docs that I need to mention hostname in key attribute and also use same in
name
/host
attribute. Hence adding some clarity around the same.ISSUE TYPE
+label: docsite_pr
ISSUE TYPE
The issue was because of lack of clarity in the documentation I ran into following error
Host parameter does not match hashed host field in supplied key
COMPONENT NAME
known_hosts
ADDITIONAL INFORMATION
Run following:
Before it will fail as follows:
But after I got the clarity around how to use the module more appropriately, I was able to run the module with parameters like below:
Added an example as well.