mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-09 19:15:19 +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
|
required: true
|
||||||
path:
|
path:
|
||||||
description:
|
description:
|
||||||
- Alternate path to the authorized_keys file.
|
- Alternative path to the authorized_keys file.
|
||||||
- When unset, this value defaults to I(~/.ssh/authorized_keys).
|
- 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
|
type: path
|
||||||
manage_dir:
|
manage_dir:
|
||||||
description:
|
description:
|
||||||
|
|
|
||||||
|
|
@ -448,8 +448,8 @@ def main():
|
||||||
except ValueError:
|
except ValueError:
|
||||||
module.fail_json(msg='Could not determine controller hostname for rsync to send to')
|
module.fail_json(msg='Could not determine controller hostname for rsync to send to')
|
||||||
else:
|
else:
|
||||||
source = module.params['src']
|
source = '"' + module.params['src'] + '"'
|
||||||
dest = module.params['dest']
|
dest = '"' + module.params['dest'] + '"'
|
||||||
dest_port = module.params['dest_port']
|
dest_port = module.params['dest_port']
|
||||||
delete = module.params['delete']
|
delete = module.params['delete']
|
||||||
private_key = module.params['private_key']
|
private_key = module.params['private_key']
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue