HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //usr/lib/python3.9/site-packages/ansible/plugins/cache/__pycache__/jsonfile.cpython-39.pyc
a

�)g��@s\ddlmZmZmZeZdZddlZddlZddl	m
Z
mZddlm
Z
Gdd�de
�ZdS)�)�absolute_import�division�print_functiona	
    name: 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
        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
N)�AnsibleJSONEncoder�AnsibleJSONDecoder)�BaseFileCacheModulec@s eZdZdZdd�Zdd�ZdS)�CacheModulez0
    A caching module backed by json files.
    cCsBtj|ddd��}tj|td�Wd�S1s40YdS)N�r�utf-8��encoding)�cls)�codecs�open�json�loadr)�self�filepath�f�r�B/usr/lib/python3.9/site-packages/ansible/plugins/cache/jsonfile.py�_load9szCacheModule._loadc	CsLtj|ddd��(}|�tj|tddd��Wd�n1s>0YdS)N�wr
rT�)r
Z	sort_keys�indent)rr�writer�dumpsr)r�valuerrrrr�_dump>szCacheModule._dumpN)�__name__�
__module__�__qualname__�__doc__rrrrrrr4sr)Z
__future__rrr�typeZ
__metaclass__Z
DOCUMENTATIONrrZansible.parsing.ajsonrrZansible.plugins.cacherrrrrr�<module>s$