mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 02:41:25 -07:00
Type options of cache plugins (#8624)
* Type options of cache plugins. * Do not change type of _timeout for now.
This commit is contained in:
parent
1a8f172186
commit
37c8560542
5 changed files with 17 additions and 2 deletions
3
plugins/cache/pickle.py
vendored
3
plugins/cache/pickle.py
vendored
|
@ -24,6 +24,7 @@ DOCUMENTATION = '''
|
|||
ini:
|
||||
- key: fact_caching_connection
|
||||
section: defaults
|
||||
type: path
|
||||
_prefix:
|
||||
description: User defined prefix to use when creating the files
|
||||
env:
|
||||
|
@ -31,6 +32,7 @@ DOCUMENTATION = '''
|
|||
ini:
|
||||
- key: fact_caching_prefix
|
||||
section: defaults
|
||||
type: string
|
||||
_timeout:
|
||||
default: 86400
|
||||
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire
|
||||
|
@ -39,6 +41,7 @@ DOCUMENTATION = '''
|
|||
ini:
|
||||
- key: fact_caching_timeout
|
||||
section: defaults
|
||||
type: float
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue