ansible.builtin.jsonfile (v2.16.5) — cache

JSON formatted files.

| "added in version" 1.9 of ansible.builtin"

Authors: Ansible Core (@ansible-core)

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

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

Inputs

    
_uri:
    description:
    - Path in which the cache plugin will save the JSON files
    env:
    - name: ANSIBLE_CACHE_PLUGIN_CONNECTION
    ini:
    - key: fact_caching_connection
      section: defaults
    required: true
    type: path

_prefix:
    description: User defined prefix to use when creating the JSON files
    env:
    - name: ANSIBLE_CACHE_PLUGIN_PREFIX
    ini:
    - key: fact_caching_prefix
      section: defaults

_timeout:
    default: 86400
    description: Expiration timeout for the cache plugin data
    env:
    - name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
    ini:
    - key: fact_caching_timeout
      section: defaults
    type: integer