summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/cache/redis.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/cache/redis.py')
-rw-r--r--lib/ansible/plugins/cache/redis.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ansible/plugins/cache/redis.py b/lib/ansible/plugins/cache/redis.py
index 0f4fb4f5fe..831ff037e4 100644
--- a/lib/ansible/plugins/cache/redis.py
+++ b/lib/ansible/plugins/cache/redis.py
@@ -1,8 +1,10 @@
# (c) 2014, Brian Coca, Josh Drake, et al
# (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-'''
-DOCUMENTATION:
+from __future__ import (absolute_import, division, print_function)
+__metaclass__ = type
+
+DOCUMENTATION = '''
cache: redis
short_description: Use Redis DB for cache
description:
@@ -37,8 +39,6 @@ DOCUMENTATION:
section: defaults
type: integer
'''
-from __future__ import (absolute_import, division, print_function)
-__metaclass__ = type
import time
import json