community / community.mongodb / 1.6.1 / cache / mongodb Use MongoDB for caching | "added in version" 1.0.0 of community.mongodb" Authors: Matt Martz (@sivel) preview | supported by communitycommunity.mongodb.mongodb (1.6.1) — cache
Install with ansible-galaxy collection install community.mongodb:==1.6.1
collections: - name: community.mongodb version: 1.6.1
This cache uses per host records saved in MongoDB.
_uri: description: - MongoDB Connection String URI env: - name: ANSIBLE_CACHE_PLUGIN_CONNECTION ini: - key: fact_caching_connection section: defaults required: false _prefix: default: ansible_facts description: User defined prefix to use when creating the DB entries 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