From 3b14d2b7453d40cfe14a1746835fc21da5289d28 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Sat, 19 May 2018 18:34:25 +0530 Subject: [PATCH] Correct doc for cache plugin Section is a part of ini, so removing it as separate key. Signed-off-by: Abhijeet Kasurde --- lib/ansible/plugins/cache/jsonfile.py | 4 ++-- lib/ansible/plugins/cache/memcached.py | 2 +- lib/ansible/plugins/cache/mongodb.py | 2 +- lib/ansible/plugins/cache/pickle.py | 2 +- lib/ansible/plugins/cache/redis.py | 2 +- lib/ansible/plugins/cache/yaml.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/ansible/plugins/cache/jsonfile.py b/lib/ansible/plugins/cache/jsonfile.py index 4c9f553173..e117a5dcec 100644 --- a/lib/ansible/plugins/cache/jsonfile.py +++ b/lib/ansible/plugins/cache/jsonfile.py @@ -12,7 +12,7 @@ DOCUMENTATION = ''' description: - This cache uses JSON formatted, per host, files saved to the filesystem. version_added: "1.9" - author: Ansible Core + author: Ansible Core (@ansible-core) options: _uri: required: True @@ -30,7 +30,7 @@ DOCUMENTATION = ''' - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix - - section: defaults + section: defaults _timeout: default: 86400 description: Expiration timeout for the cache plugin data diff --git a/lib/ansible/plugins/cache/memcached.py b/lib/ansible/plugins/cache/memcached.py index 04f7f3248d..e24c01b47f 100644 --- a/lib/ansible/plugins/cache/memcached.py +++ b/lib/ansible/plugins/cache/memcached.py @@ -30,7 +30,7 @@ DOCUMENTATION = ''' - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix - - section: defaults + section: defaults _timeout: default: 86400 description: Expiration timeout for the cache plugin data diff --git a/lib/ansible/plugins/cache/mongodb.py b/lib/ansible/plugins/cache/mongodb.py index 10140bf12e..e2256455da 100644 --- a/lib/ansible/plugins/cache/mongodb.py +++ b/lib/ansible/plugins/cache/mongodb.py @@ -31,7 +31,7 @@ DOCUMENTATION = ''' - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix - - section: defaults + section: defaults _timeout: default: 86400 description: Expiration timeout in seconds for the cache plugin data diff --git a/lib/ansible/plugins/cache/pickle.py b/lib/ansible/plugins/cache/pickle.py index 703cc1cae4..f4988cb034 100644 --- a/lib/ansible/plugins/cache/pickle.py +++ b/lib/ansible/plugins/cache/pickle.py @@ -30,7 +30,7 @@ DOCUMENTATION = ''' - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix - - section: defaults + section: defaults _timeout: default: 86400 description: Expiration timeout for the cache plugin data diff --git a/lib/ansible/plugins/cache/redis.py b/lib/ansible/plugins/cache/redis.py index 893e1e211f..230a9177cb 100644 --- a/lib/ansible/plugins/cache/redis.py +++ b/lib/ansible/plugins/cache/redis.py @@ -28,7 +28,7 @@ DOCUMENTATION = ''' - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix - - section: defaults + section: defaults _timeout: default: 86400 description: Expiration timeout for the cache plugin data diff --git a/lib/ansible/plugins/cache/yaml.py b/lib/ansible/plugins/cache/yaml.py index f66fa63b60..f462d77590 100644 --- a/lib/ansible/plugins/cache/yaml.py +++ b/lib/ansible/plugins/cache/yaml.py @@ -30,7 +30,7 @@ DOCUMENTATION = ''' - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix - - section: defaults + section: defaults _timeout: default: 86400 description: Expiration timeout for the cache plugin data