1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixup module docs.

This commit is contained in:
Michael DeHaan 2013-04-05 14:51:08 -04:00
parent 3694e4ef80
commit ee4e2dfbfc

View file

@ -45,12 +45,14 @@ options:
- Alternate path to the authorized_keys file - Alternate path to the authorized_keys file
required: false required: false
default: "/home/user/.ssh/authorized_keys" default: "/home/user/.ssh/authorized_keys"
version_added: "1.2"
manage_dir: manage_dir:
description: description:
- Wheter this module should manage the directory of the authorized_keys file - Wheter this module should manage the directory of the authorized_keys file
required: false required: false
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
default: "yes" default: "yes"
version_added: "1.2"
state: state:
description: description:
- whether the given key should or should not be in the file - whether the given key should or should not be in the file
@ -203,7 +205,7 @@ def main():
user = dict(required=True, type='str'), user = dict(required=True, type='str'),
key = dict(required=True, type='str'), key = dict(required=True, type='str'),
path = dict(required=False, type='str'), path = dict(required=False, type='str'),
manage_dir = dict(required=False, type='bool', choices=BOOLEANS), manage_dir = dict(required=False, type='bool'),
state = dict(default='present', choices=['absent','present']) state = dict(default='present', choices=['absent','present'])
) )
) )