??????????????
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@`sddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l Z dd l m Z d Z d Z dZdZdZdZdZdZdZdZdZdZedkrend S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys --- module: pkgng short_description: Package manager for FreeBSD >= 9.0 description: - Manage binary packages for FreeBSD using 'pkgng' which is available in versions after 9.0. version_added: "1.2" options: name: description: - Name or list of names of packages to install/remove. required: true state: description: - State of the package. - 'Note: "latest" added in 2.7' choices: [ 'present', 'latest', 'absent' ] required: false default: present cached: description: - Use local package base instead of fetching an updated one. type: bool required: false default: no annotation: description: - A comma-separated list of keyvalue-pairs of the form C(<+/-/:>[=]). A C(+) denotes adding an annotation, a C(-) denotes removing an annotation, and C(:) denotes modifying an annotation. If setting or modifying annotations, a value must be provided. required: false version_added: "1.6" pkgsite: description: - For pkgng versions before 1.1.4, specify packagesite to use for downloading packages. If not specified, use settings from C(/usr/local/etc/pkg.conf). - For newer pkgng versions, specify a the name of a repository configured in C(/usr/local/etc/pkg/repos). required: false rootdir: description: - For pkgng versions 1.5 and later, pkg will install all packages within the specified root directory. - Can not be used together with I(chroot) or I(jail) options. required: false chroot: version_added: "2.1" description: - Pkg will chroot in the specified environment. - Can not be used together with I(rootdir) or I(jail) options. required: false jail: version_added: "2.4" description: - Pkg will execute in the given jail name or id. - Can not be used together with I(chroot) or I(rootdir) options. autoremove: version_added: "2.2" description: - Remove automatically installed packages which are no longer needed. required: false type: bool default: no author: "bleader (@bleader)" notes: - When using pkgsite, be careful that already in cache packages won't be downloaded again. - When used with a `loop:` each package will be processed individually, it is much more efficient to pass the list directly to the `name` option. sr - name: Install package foo pkgng: name: foo state: present - name: Annotate package foo and bar pkgng: name: foo,bar annotation: '+test1=baz,-test2,:test3=foobar' - name: Remove packages foo and bar pkgng: name: foo,bar state: absent # "latest" support added in 2.7 - name: Upgrade package baz pkgng: name: baz state: latest N(t AnsibleModulecC`s9|jd|||f\}}}|dkr5tStS(Ns%s %s info -g -e %si(t run_commandtTruetFalse(tmodulet pkgng_pathtnametdir_argtrctoutterr((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pyt query_packagezs% c C`sj|r.|jd|||f\}}}n(|jd||||f\}}}|dkrftStS(Ns%s %s upgrade -g -n %ss%s %s upgrade %s -g -n %si(R R R ( R R RRt old_pkgngtpkgsiteRRR((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pyt query_updates (( c C`s|jd|\}}}gtjd|D]}t|^q/}d}t} xd||||kr|d7}|tt|t|krVPqVqVW||||krt} n| S(Ns%s -vs[\._]ii(R tretsplittintR tmintlenR ( R R tcompare_versionRRRtxtversiontit new_pkgng((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytpkgng_older_thans+ ! c C`sd}x|D]}t||||s.q n|js_|jd|||f\}}}n|j rt||||r|jdd||fn|d7}q W|dkrtd|fStdfS(Nis%s %s delete -y %stmsgsfailed to remove %s: %sisremoved %s package(s)spackage(s) already absent(Rt check_modeR t fail_jsonR R ( R R tpackagesRtremove_ctpackageRRR((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytremove_packagess  ( c C`sSd}t||dddg}|dkrM|r@d|}qMd|}nd} |j r| r|r|jd||f\} } } n"|jd||f\} } } | dkr|jd d | | | fqnxH|D]@} t||| |}|r|d krqnt||| |||}| rT|rT|d krTqn|js|rld }nd}|r|jd| |||| f\} } } q|jd| ||||| f\} } } n|j rt||| | r|jd d|| | fd| n|d7}qW|dkrEtd|fStd|fS(NiiitsPACKAGESITE=%ss-r %ss env BATCH=yess %s %s updateR"s&Could not update catalogue [%d]: %s %stpresenttlatesttupgradetinstalls%s %s %s %s -g -U -y %ss%s %s %s %s %s -g -U -y %ssfailed to %s %s: %ststderrsadded %s package(s)spackage(s) already %s(R!R#R R$RRR R (R R R%tcachedRRtstatet install_cRt batch_varRRRR'talready_installedtupdate_availabletaction((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytinstall_packagessB   %" #   .1 & c C`s[|jd|||f\}}}tjd||dtj}|rW|jdStS(Ns%s %s info -g -A %ss$^\s*(?P%s)\s*:\s*(?P\w+)tflagstvalue(R Rtsearcht MULTILINEtgroupR ( R R R'ttagRRRRtmatch((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytannotation_querys % c C`st|||||}|s||jd|||||f\}}} |dkrx|jdd||fd| ntS||kr|jdd||||ftStSdS(Ns%s %s annotate -y -A %s %s "%s"iR"scould not annotate %s: %sR.tmgssOfailed to annotate %s, because %s is already set to %s, but should be set to %s(R>R R$R R ( R R R'R<R8Rt_valueRRR((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytannotation_adds "    c C`s}t|||||}|ry|jd||||f\}}} |dkru|jdd||fd| ntStS(Ns%s %s annotate -y -D %s %siR"s%could not delete annotation to %s: %sR.(R>R R$R R ( R R R'R<R8RR@RRR((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytannotation_deletes   c C`st|||||}|s;|jdd||fnn||krKtS|jd|||||f\}}} |dkr|jdd||fd| ntSdS(NR"s8could not change annotation to %s: tag %s does not exists%s %s annotate -y -M %s %s "%s"is0could not change annotation annotation to %s: %sR.(R>R$R R R ( R R R'R<R8RR@RRR((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytannotation_modifys   "  c C`sd}tdtjd|}itd6td6td6}xT|D]L}xC|D];} || d|||| d| d rS|d 7}qSqSWqFW|dkrtd |fStd fS( NicS`stjd|jS(Ns3(?P[\+-:])(?P\w+)(=(?P\w+))?(RR=t groupdict(t _annotation((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pyt1s t,t+t-t:t operationR<R8isadded %s annotations.schanged no annotations(tmapRRRARBRCR R ( R R R%t annotationRt annotate_ct annotationsRKR'RE((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytannotate_packages/s    ( cC`s|jd||f\}}}d}tjd|tj}|r^t|jd}n|dkrttdfS|js|jd||f\}}}ntd|fS(Ns%s %s autoremove -nisF^Deinstallation has been requested for the following ([0-9]+) packagesisno package(s) to autoremoves%s %s autoremove -ysautoremoved %d package(s)( R RR9R:RR;R R#R (R R RRRRt autoremove_cR=((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytautoremove_packagesFs"   %c C`s+tdtdtddddddgdtd td d gdtd d dtdtd ddtdddtdtdddtdtdddtd ddtdddtd ddtdddtd ddtdtd d dtddddgg}|jd t}|j}|d }t}g}d}|ddkrt||dddg}|r|jddqd |d}n|ddkrd!|d}n|ddkrd"|d}n|dd%kr;t||||d|d||d\}} |p(|}|j | nG|ddkrt ||||\}} |po|}|j | n|drt |||\}} |p|}|j | n|drt ||||d|\}} |p|}|j | n|j d#|dd$j|dS(&Nt argument_specR0tdefaultR*tchoicesR+tabsenttrequiredRtaliasestpkgttypetlistR/tboolRMR)Rtrootdirtpathtchroottjailtstrt autoremovetsupports_check_modetmutually_exclusiveiiiR"s:To use option 'rootdir' pkg version must be 1.5 or greaters --rootdir %ss --chroot %ss --jail %stchangeds, (spresentslatest(RtdictR R t get_bin_pathtparamsR!R$R6tappendR(RRRPt exit_jsontjoin( R R tptpkgsRetmsgsRRt_changedt_msg((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pytmainXsZ$  0     " t__main__(t __future__RRRRZt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESRtansible.module_utils.basicRRRR!R(R6R>RARBRCRPRRRqt__name__(((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/pkgng.pyt s,   J     7      =