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 4c9f5531738..e117a5dceca 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 04f7f3248d1..e24c01b47fe 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 10140bf12e0..e2256455daf 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 703cc1cae4f..f4988cb0342 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 893e1e211f1..230a9177cb1 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 f66fa63b605..f462d77590a 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