community.general.yaml (8.5.0) — cache

YAML formatted files.

Authors: Brian Coca (@bcoca)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

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

Inputs

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

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

_timeout:
    default: 86400
    description: Expiration timeout in seconds for the cache plugin data. Set to 0 to
      never expire
    env:
    - name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
    ini:
    - key: fact_caching_timeout
      section: defaults
    type: integer