From bab1f5c08200a75fe7662440c7c592d42efac02e Mon Sep 17 00:00:00 2001 From: Ben Doherty Date: Thu, 26 May 2016 21:38:31 -0400 Subject: [PATCH] Add RETURN documentation --- lib/ansible/modules/extras/files/archive.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/lib/ansible/modules/extras/files/archive.py b/lib/ansible/modules/extras/files/archive.py index 76dcb9cf084..e64a9197bfe 100644 --- a/lib/ansible/modules/extras/files/archive.py +++ b/lib/ansible/modules/extras/files/archive.py @@ -50,6 +50,27 @@ EXAMPLES = ''' compression: bz2 ''' +RETURN = ''' +state: + description: The current state of the archived file. + type: string + returned: always +missing: + description: Any files that were missing from the source. + type: list + returned: success +archived: + description: Any files that were compressed or added to the archive. + type: list + returned: success +arcroot: + description: The archive root. + type: string +expanded_paths: + description: The list of matching paths from paths argument. + type: list +''' + import stat import os import errno