??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó ßUdac@`s¾ddlmZmZmZeZidd6dgd6dd6ZdZd Zd Z dd l Z dd l Z dd l Z dd l Z dd lZdd lZdd lZdd lZdd lZdd lZdd lmZdd lmZmZddlmZmZddlmZeZer^ydd l Z e!Z"Wn e#k rZeƒZe$Z"nXn=yddl%m Z e!Z"Wn e#k ršeƒZe$Z"nXd„Z&e'dkrºe&ƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bysÅ --- module: archive version_added: '2.3' short_description: Creates a compressed archive of one or more files or trees extends_documentation_fragment: files description: - Packs an archive. - It is the opposite of M(unarchive). - By default, it assumes the compression source exists on the target. - It will not copy the source file from the local system to the target before archiving. - Source files can be deleted after archival by specifying I(remove=True). options: path: description: - Remote absolute path, glob, or list of paths or globs for the file or files to compress or archive. type: list required: true format: description: - The type of compression to use. - Support for xz was added in Ansible 2.5. type: str choices: [ bz2, gz, tar, xz, zip ] default: gz dest: description: - The file name of the destination archive. - This is required when C(path) refers to multiple files by either specifying a glob, a directory or multiple paths in a list. type: path exclude_path: description: - Remote absolute path, glob, or list of paths or globs for the file or files to exclude from the archive. type: list version_added: '2.4' force_archive: version_added: '2.8' description: - Allow you to force the module to treat this as an archive even if only a single file is specified. - By default behaviour is maintained. i.e A when a single file is specified it is compressed only (not archived). type: bool default: false remove: description: - Remove any added source files and trees after adding to archive. type: bool default: no notes: - Requires tarfile, zipfile, gzip and bzip2 packages on target host. - Requires lzma or backports.lzma if using xz format. - Can produce I(gzip), I(bzip2), I(lzma) and I(zip) compressed files or archives. seealso: - module: unarchive author: - Ben Doherty (@bendoh) s - name: Compress directory /path/to/foo/ into /path/to/foo.tgz archive: path: /path/to/foo dest: /path/to/foo.tgz - name: Compress regular file /path/to/foo into /path/to/foo.gz and remove it archive: path: /path/to/foo remove: yes - name: Create a zip archive of /path/to/foo archive: path: /path/to/foo format: zip - name: Create a bz2 archive of multiple files, rooted at /path archive: path: - /path/to/foo - /path/wong/foo dest: /path/file.tar.bz2 format: bz2 - name: Create a bz2 archive of a globbed path, while excluding specific dirnames archive: path: - /path/to/foo/* dest: /path/file.tar.bz2 exclude_path: - /path/to/foo/bar - /path/to/foo/baz format: bz2 - name: Create a bz2 archive of a globbed path, while excluding a glob of dirnames archive: path: - /path/to/foo/* dest: /path/file.tar.bz2 exclude_path: - /path/to/foo/ba* format: bz2 - name: Use gzip to compress a single archive (i.e don't archive it first with tar) archive: path: /path/to/foo/single.file dest: /path/file.gz format: gz - name: Create a tar.gz archive of a single file. archive: path: /path/to/foo/single.file dest: /path/file.tar.gz format: gz force_archive: true sí state: description: The current state of the archived file. If 'absent', then no source files were found and the archive does not exist. If 'compress', then the file source file is in the compressed state. If 'archive', then the source file or paths are currently archived. If 'incomplete', then an archive was created, but not all source paths were found. type: str returned: always missing: description: Any files that were missing from the source. type: list returned: success archived: description: Any files that were compressed or added to the archive. type: list returned: success arcroot: description: The archive root. type: str returned: always expanded_paths: description: The list of matching paths from paths argument. type: list returned: always expanded_exclude_paths: description: The list of matching exclude paths from the exclude_path argument. type: list returned: always N(t format_exc(t AnsibleModuletmissing_required_lib(tto_bytest to_native(tPY3(tlzmac2"C`s˜tdtdtdddtƒdtdddd d d d d d dgƒdtddƒdtddƒdtdddtƒdtdddtƒƒdtdtƒ}|j}|j}|d}|d}|s×dnt|ddƒ}|d}|d}g}g} |d} t| ddƒ} |d} t} t}d}t}g}t r•| d kr•|j dt dddƒdt ƒ|j ddƒnx||D]t}t j jt j jt|ddƒƒƒ}d|ksäd |kr|jtj|ƒƒt} qœ|j|ƒqœW|r–xy|D]n}t j jt j jt|ddƒƒƒ}d|ksid |kr‚| jtj|ƒƒq!| j|ƒq!Wn|sÖ|j dd!j|ƒd"td!j|ƒddƒdd#ƒS| s | pt j j|d$ƒpt|ƒd%k}nt}| r8| r8d&|d$| f}n|rm| rm|j d|dd!j|ƒdd'ƒntt jddƒ}g}g}d(}xM|D]E}|d(krÆt j j|ƒ|}nqx2tt|ƒƒD]}||||krÙPqÙqÙW|t|ƒkr-t j j|d$|d%!ƒ}n||7}|r¥t j j|ƒr¥|}|jd)ƒsq|d)7}n|j|ƒr¥|j dd!j|ƒdd*ƒq¥nt j j|ƒrÓ|| krÓ|j|ƒq›|j|ƒq›Wt|ƒt|ƒkrJ|rJt j j|ƒrJtjd+t j j |ƒtj!ƒrAd,}qžd-}nT |r/ |stt j j|ƒrƒd,}qƒn|rƒd.}nd}d$}g}t j j|ƒr¼t j j"|ƒ}n|d,kr9 |r×t}q9 yu| dkrt#j$t|ddd/d0ƒd1t#j%tƒ}n©| d ks.| d krYt&j't|ddd/d0ƒd2| ƒ}nf| d krŒt(j)ƒ}t&j'd3|d4d1ƒ}n3| d kr¿t&j't|ddd/d0ƒd1ƒ}ntj*d5tj+|ƒƒ} xm|D]e}t j j|ƒrÏxJt j,|d6tƒD]¸\}!}"}#|!j|ƒs;|!|7}!nxº|"D]²}$|!|$}%t|%ddd/d0ƒ}&t| j-d(|%ƒddƒ}'y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ddƒ^qâd|dF|dG|dHt|ddƒdIg|D]}1t|1ddƒ^q+d"g|D]}1t|1ddƒ^qPdJg| D]}1t|1ddƒ^quƒdS(LNt argument_spectpathttypetlisttrequiredtformattstrtdefaulttgztchoicestbz2ttartxztziptdestt exclude_patht force_archivetbooltremovetadd_file_common_argstsupports_check_modeterrorstsurrogate_or_stricttabsenttmsgslzma or backports.lzmatreasonswhen using xz formatt exceptions8lzma or backports.lzma is required when using xz format.t*t?s, texpanded_pathss!Error, no source paths were foundiis%s.%ssAError, must specify "dest" when archiving multiple files or treestt/sLError, created archive can not be contained in source paths when remove=Trues:(\.tar|\.tar\.gz|\.tgz|\.tbz2|\.tar\.bz2|\.tar\.xz|\.zip)$tarchivetcompresst incompletetencodingtasciitwsw|tfileobjtmodes^%sttopdownt recursives%s: %ss Adding %s: %sstar.s'Error when writing %s archive at %s: %stwbs%Errors when writing archive at %s: %ss; s"Error deleting some source files: tfilestrbsInvalid formats&Unable to write to compressed file: %ss Unable to remove source file: %starchivedtchangedtstatetarcroottmissingtexpanded_exclude_paths(sarchiveR1(AR tdicttTruetFalsetparamst check_modetNoneR tHAS_LZMAt fail_jsonR t LZMA_IMP_ERRtosRt expandusert expandvarstextendtglobtappendtjoinR tisdirtlentseptdirnametrangetendswitht startswithtlexiststexiststretsearchtbasenamet IGNORECASEtgetsizetzipfiletZipFilet ZIP_DEFLATEDttarfiletopentiotBytesIOtcompiletescapetwalktsubtwritetaddt ExceptionRtcloseRtgetvaluetshutiltrmtreeR!tOSErrortgzipRtBZ2FiletLZMAFilet copyfileobjtload_file_common_argumentstset_fs_attributes_if_differentt exit_json(2tmoduleRERFtpathsRtb_destt exclude_pathsR!tb_expanded_pathstb_expanded_exclude_pathstfmttb_fmtRtglobbyR=R>R/t b_successesRtb_pathRtb_exclude_pathtb_septb_archive_pathst b_missingt b_arcroottit b_path_dirtsizeR$tarcfilet arcfileIOt b_match_roott b_dirpatht b_dirnamest b_filenamest b_dirnamet b_fullpatht n_fullpatht n_arcnametet b_filenametarcnamet expanded_fmttftf_intf_outtn_destt file_argstp((sA/usr/lib/python2.7/site-packages/ansible/modules/files/archive.pytmainÄsô*                 1 (       0$        +   ' %    %   2      ) "   $ %        $              !  %%%t__main__((t __future__RRRRt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNRtfilecmpRORsReRKR[RpRcR`t tracebackRtansible.module_utils.basicR R tansible.module_utils._textR R tansible.module_utils.sixR RGRJRRCRHt ImportErrorRDt backportsR¡t__name__(((sA/usr/lib/python2.7/site-packages/ansible/modules/files/archive.pyt sN   99                     ÿ‚