From 803ec6cf0227789b6d1ae4a3e387636276513383 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 5 Apr 2013 14:51:08 -0400 Subject: [PATCH] Fixup module docs. --- authorized_key | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/authorized_key b/authorized_key index d1ee4f4fe66..3f0d868b4ce 100644 --- a/authorized_key +++ b/authorized_key @@ -45,12 +45,14 @@ options: - Alternate path to the authorized_keys file required: false default: "/home/user/.ssh/authorized_keys" + version_added: "1.2" manage_dir: description: - Wheter this module should manage the directory of the authorized_keys file required: false choices: [ "yes", "no" ] default: "yes" + version_added: "1.2" state: description: - whether the given key should or should not be in the file @@ -203,7 +205,7 @@ def main(): user = dict(required=True, type='str'), key = dict(required=True, 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']) ) )