Anons79 Mini Shell

Directory : /proc/self/root/lib/python2.7/site-packages/ansible/plugins/cache/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/ansible/plugins/cache/jsonfile.pyo

�
�Udac@`s�ddlmZmZmZeZdZddlZddlZddl	m
Z
mZddlm
Z
de
fd��YZdS(i(tabsolute_importtdivisiontprint_functions�
    cache: jsonfile
    short_description: JSON formatted files.
    description:
        - This cache uses JSON formatted, per host, files saved to the filesystem.
    version_added: "1.9"
    author: Ansible Core (@ansible-core)
    options:
      _uri:
        required: True
        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
      _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
N(tAnsibleJSONEncodertAnsibleJSONDecoder(tBaseFileCacheModuletCacheModulecB`s eZdZd�Zd�ZRS(s0
    A caching module backed by json files.
    cC`s8tj|ddd��}tj|dt�SWdQXdS(Ntrtencodingsutf-8tcls(tcodecstopentjsontloadR(tselftfilepathtf((sB/usr/lib/python2.7/site-packages/ansible/plugins/cache/jsonfile.pyt_load8sc
C`sMtj|ddd��/}|jtj|dtdtdd��WdQXdS(NtwRsutf-8R	t	sort_keystindenti(R
RtwriteRtdumpsRtTrue(RtvalueRR((sB/usr/lib/python2.7/site-packages/ansible/plugins/cache/jsonfile.pyt_dump=s(t__name__t
__module__t__doc__RR(((sB/usr/lib/python2.7/site-packages/ansible/plugins/cache/jsonfile.pyR3s	(t
__future__RRRttypet
__metaclass__t
DOCUMENTATIONR
Rtansible.parsing.ajsonRRtansible.plugins.cacheRR(((sB/usr/lib/python2.7/site-packages/ansible/plugins/cache/jsonfile.pyt<module>s#

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]