�
�Udac @` s� d d l m Z m Z m Z e Z d Z d d l Z d d l Z d d l m
Z
d d l m Z d d l
m Z d e f d � � YZ d S( i ( t absolute_importt divisiont print_functions�
cache: yaml
short_description: YAML formatted files.
description:
- This cache uses YAML formatted, per host, files saved to the filesystem.
version_added: "2.3"
author: Brian Coca (@bcoca)
options:
_uri:
required: True
description:
- Path in which the cache plugin will save the files
env:
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
ini:
- key: fact_caching_connection
section: defaults
_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 for the cache plugin data
env:
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
ini:
- key: fact_caching_timeout
section: defaults
type: integer
N( t
AnsibleLoader( t
AnsibleDumper( t BaseFileCacheModulet CacheModulec B` s e Z d Z d � Z d � Z RS( s0
A caching module backed by yaml files.
c C` s5 t j | d d d �� } t | � j � SWd QXd S( Nt rt encodings utf-8( t codecst openR t get_single_data( t selft filepatht f( ( s>