??????????????
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 lmZdd lmZmZd adefd„ƒYZdefd„ƒYZdefd„ƒYZd„Zd„Zd„Zd„Zd„Zd„Z d d„Z!d„Z"d„Z#d„Z$d„Z%d„Z&d „Z'd!„Z(d"„Z)d#„Z*e+d$kr¥e*ƒnd S(%i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatustcoret supported_bysÀ --- module: file version_added: historical short_description: Manage files and file properties extends_documentation_fragment: files description: - Set attributes of files, symlinks or directories. - Alternatively, remove files, symlinks or directories. - Many other modules support the same options as the C(file) module - including M(copy), M(template), and M(assemble). - For Windows targets, use the M(win_file) module instead. options: path: description: - Path to the file being managed. type: path required: yes aliases: [ dest, name ] state: description: - If C(absent), directories will be recursively deleted, and files or symlinks will be unlinked. In the case of a directory, if C(diff) is declared, you will see the files and folders deleted listed under C(path_contents). Note that C(absent) will not cause C(file) to fail if the C(path) does not exist as the state did not change. - If C(directory), all intermediate subdirectories will be created if they do not exist. Since Ansible 1.7 they will be created with the supplied permissions. - If C(file), without any other options this works mostly as a 'stat' and will return the current state of C(path). Even with other options (i.e C(mode)), the file will be modified but will NOT be created if it does not exist; see the C(touch) value or the M(copy) or M(template) module if you want that behavior. - If C(hard), the hard link will be created or changed. - If C(link), the symbolic link will be created or changed. - If C(touch) (new in 1.4), an empty file will be created if the C(path) does not exist, while an existing file or directory will receive updated file access and modification times (similar to the way C(touch) works from the command line). type: str default: file choices: [ absent, directory, file, hard, link, touch ] src: description: - Path of the file to link to. - This applies only to C(state=link) and C(state=hard). - For C(state=link), this will also accept a non-existing path. - Relative paths are relative to the file being created (C(path)) which is how the Unix command C(ln -s SRC DEST) treats relative paths. type: path recurse: description: - Recursively set the specified file attributes on directory contents. - This applies only when C(state) is set to C(directory). type: bool default: no version_added: '1.1' force: description: - > Force the creation of the symlinks in two cases: the source file does not exist (but will appear later); the destination exists and is a file (so, we need to unlink the C(path) file and create symlink to the C(src) file in place of it). type: bool default: no follow: description: - This flag indicates that filesystem links, if they exist, should be followed. - Previous to Ansible 2.5, this was C(no) by default. type: bool default: yes version_added: '1.8' modification_time: description: - This parameter indicates the time the file's modification time should be set to. - Should be C(preserve) when no modification is required, C(YYYYMMDDHHMM.SS) when using default time format, or C(now). - Default is None meaning that C(preserve) is the default for C(state=[file,directory,link,hard]) and C(now) is default for C(state=touch). type: str version_added: "2.7" modification_time_format: description: - When used with C(modification_time), indicates the time format that must be used. - Based on default Python format (see time.strftime doc). type: str default: "%Y%m%d%H%M.%S" version_added: '2.7' access_time: description: - This parameter indicates the time the file's access time should be set to. - Should be C(preserve) when no modification is required, C(YYYYMMDDHHMM.SS) when using default time format, or C(now). - Default is C(None) meaning that C(preserve) is the default for C(state=[file,directory,link,hard]) and C(now) is default for C(state=touch). type: str version_added: '2.7' access_time_format: description: - When used with C(access_time), indicates the time format that must be used. - Based on default Python format (see time.strftime doc). type: str default: "%Y%m%d%H%M.%S" version_added: '2.7' seealso: - module: assemble - module: copy - module: stat - module: template - module: win_file author: - Ansible Core Team - Michael DeHaan sR - name: Change file ownership, group and permissions file: path: /etc/foo.conf owner: foo group: foo mode: '0644' - name: Give insecure permissions to an existing file file: path: /work owner: root group: root mode: '1777' - name: Create a symbolic link file: src: /file/to/link/to dest: /path/to/symlink owner: foo group: foo state: link - name: Create two hard links file: src: '/tmp/{{ item.src }}' dest: '{{ item.dest }}' state: hard loop: - { src: x, dest: y } - { src: z, dest: k } - name: Touch a file, using symbolic modes to set the permissions (equivalent to 0644) file: path: /etc/foo.conf state: touch mode: u=rw,g=r,o=r - name: Touch the same file, but add/remove some permissions file: path: /etc/foo.conf state: touch mode: u+rw,g-wx,o-rwx - name: Touch again the same file, but dont change times this makes the task idempotent file: path: /etc/foo.conf state: touch mode: u+rw,g-wx,o-rwx modification_time: preserve access_time: preserve - name: Create a directory if it does not exist file: path: /etc/some_directory state: directory mode: '0755' - name: Update modification and access time of given file file: path: /etc/some_file state: file modification_time: now access_time: now - name: Set access time based on seconds from epoch value file: path: /etc/another_file state: file access_time: '{{ "%Y%m%d%H%M.%S" | strftime(stat_var.stat.atime) }}' - name: Recursively change ownership of a directory file: path: /etc/foo state: directory recurse: yes owner: foo group: foo - name: Remove file (delete file) file: path: /etc/foo.txt state: absent - name: Recursively remove directory file: path: /etc/foo state: absent s N(t AnsibleModule(tto_bytest to_nativetAnsibleModuleErrorcB`seZd„Zd„ZRS(cC`s ||_dS(N(tresults(tselfR ((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt__init__æscC`stdj|jƒƒdS(NsAnsibleModuleError(results={0})(tprinttformatR (R ((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt__repr__és(t__name__t __module__RR(((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyR ås tParameterErrorcB`seZRS((RR(((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyRístSentinelcB`seZd„ZRS(cO`s|S(N((tclstargstkwargs((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt__new__òs(RRR(((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyRñscC`s9t|tƒr"tj|jntj|||ƒdS(N(t issubclassR tmodulet fail_jsonR tsyst__excepthook__(texc_typet exc_valuettb((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt_ansible_excepthooköscC`sz|ddkr›tjjt|dddƒƒr›d}|drO|d}n#|drrtjj|dƒ}n|r›tjj|d|ƒ|d/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytadditional_parameter_handlingþs* 2   #      cC`s«t|ddƒ}yftjj|ƒrstjj|ƒr=dStjj|ƒrSdStj|ƒjdkrodSdSdSWn,tk r¦}|j t j kr dS‚nXd S( s Find out current state R'R(R$R,iR/R-R%N( R R0R&tlexiststislinkR1tstattst_nlinktOSErrorterrnotENOENT(R&tb_pathte((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyR51sc C`s't}yÛxÔtj|ƒD]Ã\}}}x±||D]¥} tjj|| ƒ} tjj| ƒs»|jƒ} t| ddƒ| d<|tj | |dtƒO}|t | d||ƒO}q3|jƒ} t| ddƒ| d<|tj | |dtƒO}|t | d||ƒO}|r3tjj|tj | ƒƒ} tjj | ƒrØtjj | ƒrz|t| ||||ƒO}n|jƒ} t| ddƒ| d<|tj | |dtƒO}|t | d||ƒO}qØq3q3WqWWn?tk r"} tdidt|ƒt| ƒfd6ƒ‚nX|S(NR'R(R&texpandR sDCould not recursively set attributes on %s. Original error was: '%s'R.(tFalseR0twalkR&R4R;tcopyR Rtset_fs_attributes_if_differenttupdate_timestamp_for_filetreadlinktexistsR1trecursive_set_attributest RuntimeErrorR ( RAtfollowt file_argstmtimetatimetchangedtb_roottb_dirstb_filestb_fsobjtb_fsnamet tmp_file_argsRB((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyRKJs6   ,*c C`s1ii|d6d6i|d6d6}||kr-||dd<||dd<|dkr-|dkr-igd6gd6}t|d d ƒ}xŽtj|ƒD]}\}}}x4|D],} tjj|| ƒ} |dj| ƒq®Wx4|D],} tjj|| ƒ} |dj| ƒqåWq˜W||dd /usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt initial_diffus&    c C`s˜|dkrdS|dkr tSy%tj||ƒ}tj|ƒ}WnHttfk r}tdid||t|ddƒfd6ƒ‚nX|SdS(NtpreservetnowR s?Error while obtaining timestamp for time %s using format %s: %st nonstringt simplereprR.( R2Rttimetstrptimetmktimet ValueErrort OverflowErrorR R (tformatted_timet time_formattstructt struct_timeRB((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytget_timestamp_for_time•s   'c C`s!t|ddƒ}yÈ|tkrj|tkrjtjƒ}}tj|ƒj}tj|ƒj}d}nÈ|dkr†|dkr†tStj|ƒj}tj|ƒj}|dkr¿|}n|tkrÚtjƒ}n|dkrï|}n|tkr tjƒ}n||kr&||kr&tS||f}tj ||ƒ|dk rÙd|krgi|dR R tTrue( R&RORPR^RAtprevious_mtimetprevious_atimetset_timeRB((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyRH¥sL                %cC`s@|dkr|dkrdS|dkr8|dkr8dS|SdS( NR-R/R,R$RgttouchRh(sfileshards directoryslink(R2(t parameterR#((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt)keep_backward_compatibility_on_timestampsßs cC`spt|ddƒ}t}y+t|dƒ}|jdƒ}WdQXWntk rVnXd|krlt}n|S(s2Take a guess as to whether a file is a binary fileR'R(trbi Nt(R RDtopentreadt ExceptionRx(R&RAtappears_binarytfthead((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytexecute_diff_peekès   cC`s_t|ddƒ}t|ƒ}i}|dkr9t|d|ƒ}tjs |dkr§ytj|dtƒWq tk r£}t didt |ƒd6ƒ‚q Xq yt j |ƒWq t k r }|jtjkr t did t |ƒd6|d 6ƒ‚q q Xn|ji|d 6td 6|d 6dd 6ƒn"|ji|d 6td 6dd 6ƒ|S(NR'R(R%R,t ignore_errorsR srmtree failed: %sR.sunlinking failed: %s R&RQR^R#(R R5RfRt check_modetshutiltrmtreeRDRƒR R R0tunlinkR>R?R@tupdateRx(R&RAR8tresultR^RB((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt ensure_absentùs(    ',"c C`s™t|ddƒ}t|ƒ}t}i|d6}t|d|dƒ}t|d|dƒ}tjs•|dkrÝyt|d ƒjƒt}WqÝt t fk rÙ} t d id t | d d ƒd6|d6ƒ‚qÝXnt |d|ƒ} tjtjƒ} y<tj| || dtƒ}|t| d||| ƒO}Wn>tk r}} | jrw|dkrwtj|ƒqwn‚nX||d<| |dtIOErrorR R Rftload_file_common_argumentsR7RGRHt SystemExittcodeR0tremove( R&RMt timestampsRAR8RQRŽRORPRBR^RN((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pyt execute_touchs8      !    c C`s\t|ddƒ}t|ƒ}tjtjƒ}t|d|dƒ}t|d|dƒ}|dkr¼|r¼|dkr¼tjj|ƒ}t |dd ƒ}t|ƒ}||d /usr/lib/python2.7/site-packages/ansible/modules/files/file.pytensure_file_attributes=s$    c C`s&t|ddƒ}t|ƒ}tjtjƒ}t|d|dƒ}t|d|dƒ}|r­|dkr­tjj|ƒ}t |ddƒ}||d R?tEEXISTR1RFRGRHRƒR RK(R&RMR+RœRAR8RNRORPRQR^tcurpathtdirnamet b_curpathtexRWRB((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytensure_directoryWs\      $   (  c C`sæt|ddƒ}t|ddƒ}t|ƒ}t|d|dƒ}t|d|dƒ} |dkr¦|r¦ttjj|ƒddƒ}t|ddƒ}q¦ntjj|ƒ rÔtjj |ƒrÔ|} n$tjj |ƒ} t| ddƒ} tjj | |ƒ} t| ddƒ} | rdtjj | ƒ rdt did | d 6|d 6|d 6ƒ‚n|d krÖ|s t did||fd 6|d 6ƒ‚qtj|ƒrt did|d 6|d 6ƒ‚qn=|d#kr| rt did||fd 6|d 6ƒ‚nt|d|ƒ}t}|dkr@t}nZ|dkr›tj|ƒ}||kršt|ddƒ|dd <||dd RŒR˜R7R6RGRH(R&R*RMtforceRœRAtb_srcR8RORPtrelpatht b_relpathtabsrctb_absrcR^RQt b_old_srct b_tmppathRBRN((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytensure_symlinkžs°  %              $ 7    /c C`søt|ddƒ}t|ddƒ}t|ƒ}tjtjƒ}t|d|dƒ} t|d|dƒ} |dkr•tdidd 6ƒ‚ntj j |ƒsÎtdid d 6|d 6|d 6ƒ‚nt |d |ƒ} t } |dkrût } n»|dkrVtj|ƒ} | |kr¶t| ddƒ| dd <|| dd R?R@R$R³RGRH(R&R*RMR´RœRARµR8RNRORPR^RQRºR»RB((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytensure_hardlinksŽ  '      $  $$ 7    c C`sìtdtdtddddddd d d gƒd tdd d tdddgƒdtddƒdtdddtƒdtdddtƒdtdddtƒdtddƒdtdd ƒdtddƒdtddddƒdtddƒdtddddƒƒ dtdtƒatt_ttj ƒtj }|d}|d}|d}|d}|d }|d}i}t |d|ƒ|d<|d|d/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytmainms\'!                t__main__(,t __future__RRRRÀt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNR?R0RŠRRktansible.module_utils.basicRtansible.module_utils._textR R R2RRƒR RtobjectRR"R9R5RKRfRtRHR~R‡RRR R­R¼R¾RÎR(((s>/usr/lib/python2.7/site-packages/ansible/modules/files/file.pytsH   j[       3  +  :   '  G w X >