Skip to content

jsonfile

Collection Note

This module is part of the ansible.builtin collection. To install the collection, use:

ansible-galaxy collection install ansible.builtin
Added in version 1.9.

Synopsis

  • This cache uses JSON formatted, per host, files saved to the filesystem.

Parameters

Parameter Defaults / Choices Comments
_prefix User defined prefix to use when creating the JSON files
Env: ANSIBLE_CACHE_PLUGIN_PREFIX
_timeout
integer
Default: 86400
Expiration timeout for the cache plugin data
Env: ANSIBLE_CACHE_PLUGIN_TIMEOUT
_uri
path
required
Path in which the cache plugin will save the JSON files
Env: ANSIBLE_CACHE_PLUGIN_CONNECTION

Authors

  • Ansible Core (@ansible-Core)