??????????????
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 m Z d „Z d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zedkrçeƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatust communityt supported_bysz --- module: apk short_description: Manages apk packages description: - Manages I(apk) packages for Alpine Linux. author: "Kevin Brebanov (@kbrebanov)" version_added: "2.0" options: available: description: - During upgrade, reset versioned world dependencies and change logic to prefer replacing or downgrading packages (instead of holding them) if the currently installed package is no longer available from any repository. type: bool default: 'no' version_added: "2.4" name: description: - A package name, like C(foo), or multiple packages, like C(foo, bar). repository: description: - A package repository or multiple repositories. Unlike with the underlying apk command, this list will override the system repositories rather than supplement them. version_added: "2.4" state: description: - Indicates the desired package(s) state. - C(present) ensures the package(s) is/are present. - C(absent) ensures the package(s) is/are absent. - C(latest) ensures the package(s) is/are present and the latest version(s). default: present choices: [ "present", "absent", "latest" ] update_cache: description: - Update repository indexes. Can be run with other steps or on it's own. type: bool default: 'no' upgrade: description: - Upgrade all installed packages to their latest version. type: bool default: 'no' notes: - '"name" and "upgrade" are mutually exclusive.' - 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. sÊ # Update repositories and install "foo" package - apk: name: foo update_cache: yes # Update repositories and install "foo" and "bar" packages - apk: name: foo,bar update_cache: yes # Remove "foo" package - apk: name: foo state: absent # Remove "foo" and "bar" packages - apk: name: foo,bar state: absent # Install the package "foo" - apk: name: foo state: present # Install the packages "foo" and "bar" - apk: name: foo,bar state: present # Update repositories and update package "foo" to latest version - apk: name: foo state: latest update_cache: yes # Update repositories and update packages "foo" and "bar" to latest versions - apk: name: foo,bar state: latest update_cache: yes # Update all installed packages to the latest versions - apk: upgrade: yes # Upgrade / replace / downgrade / uninstall all installed packages to the latest versions available - apk: available: yes upgrade: yes # Update repositories as a separate step - apk: update_cache: yes # Install package from a specific repository - apk: name: foo state: latest update_cache: yes repository: http://dl-3.alpinelinux.org/alpine/edge/main s§ packages: description: a list of packages that have been changed returned: when packages have changed type: list sample: ['package', 'other-package'] N(t AnsibleModulecC`sgg}|jdƒ}tjdƒ}x<|D]4}|j|ƒ}|r+|j|jdƒƒq+q+W|S(Ns s^\(\d+/\d+\)\s+\S+\s+(\S+)i(tsplittretcompiletsearchtappendtgroup(tstdouttpackagestdatatregextltp((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytparse_for_packagess c C`s†dt}|j|dtƒ\}}}|dkrS|jddd|d|ƒn/|r~|jdtdd d|d|ƒntSdS( Ns %s updatetcheck_rcitmsgscould not update package dbRtstderrtchangedsupdated repository indexes(tAPK_PATHt run_commandtFalset fail_jsont exit_jsontTrue(tmoduletexittcmdtrcRR((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytupdate_package_dbšs  %cC`sotjdtj|ƒdƒ}tdƒ=}|jƒjƒ}x!|D]}|j|ƒrHtSqHWWdQXtS(Nt^s ([@=<>~].+)?$s/etc/apk/world( R R tescapetopentreadR R RR(R tnameRtftcontentR((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytquery_toplevel¥s  cC`sFdt|f}|j|dtƒ\}}}|dkr>tStSdS(Ns%s -v info --installed %sRi(RRRR(R R)R"R#RR((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pyt query_package±s  cC`svdt|f}|j|dtƒ\}}}dtj|ƒ}tj||ƒ}|rr|jdƒdkrrtStS(Ns %s version %sRs3(%s)-[\d\.\w]+-[\d\w]+\s+(.)\s+[\d\.\w]+-[\d\w]+\s+it<(RRRR R&R RR(R R)R"R#RRtsearch_patterntmatch((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pyt query_latestºscC`s[dt|f}|j|dtƒ\}}}dtj|ƒ}tj||ƒrWtStS(Ns%s -v info --description %sRs^%s: virtual meta package(RRRR R&R R(R R)R"R#RRR/((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pyt query_virtualÄs cC`s\dt|f}|j|dtƒ\}}}|jƒ}t|ƒdkrT|dSgSdS(Ns%s -v info --depends %sRi(RRRR tlen(R R)R"R#RRt dependencies((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytget_dependenciesÍs  c C`s÷|jrdt}n dt}|r3d|}n|j|dtƒ\}}}t|ƒ}|dkrŽ|jddd|d |d |ƒntjd |ƒrË|jd tdd d|d |d |ƒn|jd t ddd|d |d |ƒdS(Ns%s upgrade --simulates %s upgrades%s --availableRiRsfailed to upgrade packagesRRRs^OKRspackages already upgradedsupgraded packages( t check_modeRRRRRR R RR(R t availableR"R#RRt packagelist((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytupgrade_packages×s      %+c C`st}g}g}x·|D]¯}t||ƒr}t||ƒ}xˆ|D]2}|dkrDt||ƒ rD|j|ƒqDqDWqt||ƒsœ|j|ƒq|dkrt||ƒ r|j|ƒqqW|rÛt}n| r| r|jdtddƒndj||ƒ} |rJ|j r7dt | f} qvdt | f} n,|j rfdt | f} nd t | f} |j | d tƒ\} } } t | ƒ}| d krÕ|j dd | d | d| d|ƒn|jdtdd| d | d| d|ƒdS(NtlatestRRspackage(s) already installedt s%s add --upgrade --simulate %ss%s add --upgrade %ss%s add --simulate %ss %s add %sRisfailed to install %sRRRsinstalled %s package(s)(RR2R5R1R R,RRtjoinR6RRRR(R tnameststatetupgradet to_installt to_upgradeR)R4t dependencyRR"R#RRR8((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytinstall_packagesçs<       )c C`sIg}x-|D]%}t||ƒr |j|ƒq q W|sU|jdtddƒndj|ƒ}|jr€dt|f}ndt|f}|j|dtƒ\}}}t|ƒ}x'|D]}t||ƒrÁd}PqÁqÁW|d kr|j dd |d |d |d |ƒn|jdt dd|d |d |d |ƒdS(NRRspackage(s) already removedR;s%s del --purge --simulate %ss%s del --purge %sRiisfailed to remove %s package(s)RRRsremoved %s package(s)( R-R RRR<R6RRRRR( R R=t installedR)R"R#RRR8((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytremove_packagess&     )cC`stdtdtdddddddd gƒd td d ƒd td d ƒdtddd dƒdtddd dƒdtddd dƒƒdd ddggdd dggdtƒ}tddddddddƒ|_|jddtƒa|j}|d r.x%|d D]}dt|faqWn|ddkrKd|dtdefaulttpresenttchoicesRDtabsenttremovedR:R)ttypetlistt repositoryt update_cachetnotboolR?R7trequired_one_oftmutually_exclusivetsupports_check_modetLANGtCtLC_ALLt LC_MESSAGEStLC_CTYPEtapktrequireds0%s --repository %s --repositories-file /dev/null(RHs installed(RJRK(RHslatest( RtdictRtrun_command_environ_updatet get_bin_pathRtparamsR$R9RCRE(R Rtr((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pytmain)s:$ $       t__main__(t __future__RRRRLt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNR tansible.module_utils.basicRRR$R,R-R1R2R5R9RCRERat__name__(((sD/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/apk.pyt s,   0@   '  .