mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-09 11:05:18 +01:00
Compare commits
4 commits
945b335296
...
a1ed6813e0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1ed6813e0 | ||
|
|
d36a289deb | ||
|
|
60c8d23c7f | ||
|
|
c8d3acb75f |
3 changed files with 9 additions and 4 deletions
3
changelogs/fragments/490_doc_authorized_key_path.yml
Normal file
3
changelogs/fragments/490_doc_authorized_key_path.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
bugfixes:
|
||||
- "Bugfix in the documentation regarding the path option for authorised_key(https://github.com/ansible-collections/ansible.posix/issues/483)."
|
||||
|
|
@ -28,8 +28,10 @@ options:
|
|||
required: true
|
||||
path:
|
||||
description:
|
||||
- Alternate path to the authorized_keys file.
|
||||
- When unset, this value defaults to I(~/.ssh/authorized_keys).
|
||||
- Alternative path to the authorized_keys file.
|
||||
- The default value is the C(.ssh/authorized_keys) of the home of the user specified in the O(user) parameter.
|
||||
- Most of the time, it's not necessary to set this key.
|
||||
- Use the path to your target authorized_keys if you need to explicitly point on it.
|
||||
type: path
|
||||
manage_dir:
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -448,8 +448,8 @@ def main():
|
|||
except ValueError:
|
||||
module.fail_json(msg='Could not determine controller hostname for rsync to send to')
|
||||
else:
|
||||
source = module.params['src']
|
||||
dest = module.params['dest']
|
||||
source = '"' + module.params['src'] + '"'
|
||||
dest = '"' + module.params['dest'] + '"'
|
||||
dest_port = module.params['dest_port']
|
||||
delete = module.params['delete']
|
||||
private_key = module.params['private_key']
|
||||
|
|
|
|||
Loading…
Reference in a new issue