??????????????
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 Zdd l Z dd l m Z m Z dd l mZdd lmZddlmZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd d d„Zdd„Zd„Zedkr eƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatustcoret supported_bys --- module: mount short_description: Control active and configured mount points description: - This module controls active and configured mount points in C(/etc/fstab). author: - Ansible Core Team - Seth Vidal (@skvidal) version_added: "0.6" options: path: description: - Path to the mount point (e.g. C(/mnt/files)). - Before Ansible 2.3 this option was only usable as I(dest), I(destfile) and I(name). type: path required: true aliases: [ name ] src: description: - Device to be mounted on I(path). - Required when I(state) set to C(present) or C(mounted). type: path fstype: description: - Filesystem type. - Required when I(state) is C(present) or C(mounted). type: str opts: description: - Mount options (see fstab(5), or vfstab(4) on Solaris). type: str dump: description: - Dump (see fstab(5)). - Note that if set to C(null) and I(state) set to C(present), it will cease to work and duplicate entries will be made with subsequent runs. - Has no effect on Solaris systems. type: str default: 0 passno: description: - Passno (see fstab(5)). - Note that if set to C(null) and I(state) set to C(present), it will cease to work and duplicate entries will be made with subsequent runs. - Deprecated on Solaris systems. type: str default: 0 state: description: - If C(mounted), the device will be actively mounted and appropriately configured in I(fstab). If the mount point is not present, the mount point will be created. - If C(unmounted), the device will be unmounted without changing I(fstab). - C(present) only specifies that the device is to be configured in I(fstab) and does not trigger or require a mount. - C(absent) specifies that the device mount's entry will be removed from I(fstab) and will also unmount the device and remove the mount point. - C(remounted) specifies that the device will be remounted for when you want to force a refresh on the mount itself (added in 2.9). This will always return changed=true. type: str required: true choices: [ absent, mounted, present, unmounted, remounted ] fstab: description: - File to use instead of C(/etc/fstab). - You should not use this option unless you really know what you are doing. - This might be useful if you need to configure mountpoints in a chroot environment. - OpenBSD does not allow specifying alternate fstab files with mount so do not use this on OpenBSD with any state that operates on the live filesystem. - This parameter defaults to /etc/fstab or /etc/vfstab on Solaris. type: str boot: description: - Determines if the filesystem should be mounted on boot. - Only applies to Solaris systems. type: bool default: yes version_added: '2.2' backup: description: - Create a backup file including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly. type: bool default: no version_added: '2.5' notes: - As of Ansible 2.3, the I(name) option has been changed to I(path) as default, but I(name) still works as well. sÁ # Before 2.3, option 'name' was used instead of 'path' - name: Mount DVD read-only mount: path: /mnt/dvd src: /dev/sr0 fstype: iso9660 opts: ro,noauto state: present - name: Mount up device by label mount: path: /srv/disk src: LABEL=SOME_LABEL fstype: ext4 state: present - name: Mount up device by UUID mount: path: /home src: UUID=b3e48f45-f933-4c8e-a700-22a159ec9077 fstype: xfs opts: noatime state: present - name: Unmount a mounted volume mount: path: /tmp/mnt-pnt state: unmounted - name: Mount and bind a volume mount: path: /system/new_volume/boot src: /boot opts: bind state: mounted fstype: none N(t AnsibleModulet get_platform(tismount(t iteritems(t to_nativecC`sb|jdr|j|ƒnt|dƒ}x|D]}|j|ƒq3W|jƒ|jƒdS(Ntbackuptw(tparamst backup_localtopentwritetflushtclose(tmoduletlinestpathtfs_wtl((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyt write_fstabŸs   cC`s?t|tƒr|S|jddƒjddƒjddƒSdS(shEscape invalid characters in fstab fields. space (040) ampersand (046) backslash (134) s\s\134t s\040t&s\046N(t isinstancetinttreplace(tv((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyt _escape_fstab¬s   cC`s9g}t}t}tgt|ƒD]\}}|t|ƒf^q"ƒ}d}tƒdkrgd}nxzt|ddƒjƒD]_} | jƒs¦|j| ƒqn| jƒj dƒrÎ|j| ƒqn| j ƒ} tƒdkrût | ƒdks=tƒdkrt | ƒdks=tƒdkrPt | ƒd krP|j| ƒqni} tƒdkr›| \| d <} | d <| d<| d<| d<| dt escaped_nameRBRDRE((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyt unset_mount!s:    ''  < 6   cC`svg}|rr|dkrrtƒjƒdkrrtƒjƒjdƒrU|jdƒn |jdƒ|j|ƒn|S(Ns /etc/fstabtsunostbsds-Fs-T(R tlowertendswithR4(t fstab_filetresult((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyt_set_fstab_argses  cC`sÁ|jddtƒ}|d}|g}tƒjƒdkrf|jdd k rz|jddƒqzn|t|dƒ7}||g7}|j|ƒ\}}}|dkr¯d S|||fSd S( s%Mount up a path or remount if needed.tmounttrequiredR(topenbsdR#tmsgsdOpenBSD does not support alternate fstab files. Do not specify the fstab parameter for OpenBSD hostsitN(iRY( t get_bin_pathR9R RPRtNonet fail_jsonRTt run_command(RR;t mount_binR(tcmdtrctoutterr((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyRUvs      cC`s[|jddtƒ}||g}|j|ƒ\}}}|dkrIdS|||fSdS(sUnmount a path.tumountRViRYN(iRY(RZR9R](RRt umount_binR_R`RaRb((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyRc’s   cC`s€|jddtƒ}|g}tƒjƒjdƒrF|dg7}n|ddg7}tƒjƒdkr”|jddk r¨|jd d ƒq¨n|t|dƒ7}||d g7}d }}y=tƒjƒjdƒrçd }n|j |ƒ\}}}Wnt k rd }nXd }|dkrv||}t ||d ƒ\}}|dkrvt ||ƒ\}}qvn||fS(sCTry to use 'remount' first and fallback to (u)mount if unsupported.RURVROs-us-otremountRWR#RXsdOpenBSD does not support alternate fstab files. Do not specify the fstab parameter for OpenBSD hostsR(RYiiN( RZR9R RPRQRR[R\RTR]t ExceptionRcRU(RR;R^R_RaRbR`RX((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyRe s2          cC`sNt}tƒdkrk|d k rk|d krE||krht}qhqJ||krJ||d|k}qJnß|jddtƒ}d|}|j|ƒ\}} } g} t| ƒrÒt| ƒjƒj dƒ} nxu| D]m} | j ƒ} | d|ks|d kr<| d|kr<| d |ks3|d kr<t}n|rÙPqÙqÙW|S( sŽReturn whether the dest is bind mounted :arg module: The AnsibleModule (used for helper functions) :arg dest: The directory to be mounted under. This is the primary means of identifying whether the destination is mounted. :kwarg src: The source directory. If specified, this is used to help ensure that we are detecting that the correct source is mounted there. :kwarg fstype: The filesystem type. If specified this is also used to help ensure that we are detecting the right mount. :kwarg linux_mounts: Cached list of mounts for Linux. :returns: True if the dest is mounted with src otherwise False. R&R'RURVs%s -ls iiiN( R0R R[R9RZR]R7R R3R6(Rt linux_mountstdestR'R)t is_mountedtbin_pathR_R`RaRbtmountstmntt arguments((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pytis_bind_mountedÖs,         s/proc/self/mountinfoc C`s$yt|ƒ}Wntk r$dSXttj|jƒƒ}y|jƒWn%tk rr|jdd|ƒnXi}x‡|D]}|jƒ}it |dƒd6t |dƒd6|dd 6|d d 6|d d 6|dd6|dd6}|||d(R'R)R*R,R-R#(RR1R9R0R RPRR[R~tosRR=tdirnametmakedirsRRRMR:R RnRcR\trmdirtOSErrorRuR RKReRUt exit_json( RR;RgtkeyR„R(R>tresRXte((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pytmainOsÈ-          "     -               t__main__( t __future__RRRR€t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESR•tansible.module_utils.basicRR tansible.module_utils.ismountR tansible.module_utils.sixR tansible.module_utils._textR RR!RKRMRTRURcReR[RnR~Ržt__name__(((s@/usr/lib/python2.7/site-packages/ansible/modules/system/mount.pyt s0   _'   c D    61 H Ÿ