??????????????
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 Zd Z dd l Z dd l m Z d e fdYZdZedkrend S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys' --- module: swupd short_description: Manages updates and bundles in ClearLinux systems. description: - Manages updates and bundles with the swupd bundle manager, which is used by the Clear Linux Project for Intel Architecture. version_added: "2.3" author: Alberto Murillo (@albertomurillo) options: contenturl: description: - URL pointing to the contents of available bundles. If not specified, the contents are retrieved from clearlinux.org. format: description: - The format suffix for version file downloads. For example [1,2,3,staging,etc]. If not specified, the default format is used. manifest: description: - The manifest contains information about the bundles at certain version of the OS. Specify a Manifest version to verify against that version or leave unspecified to verify against the current version. aliases: [release, version] name: description: - Name of the (I)bundle to install or remove. aliases: [bundle] state: description: - Indicates the desired (I)bundle state. C(present) ensures the bundle is installed while C(absent) ensures the (I)bundle is not installed. default: present choices: [present, absent] update: description: - Updates the OS to the latest version. type: bool url: description: - Overrides both I(contenturl) and I(versionurl). verify: description: - Verify content for OS version. type: bool versionurl: description: - URL for version string download. sr - name: Update the OS to the latest version swupd: update: yes - name: Installs the "foo" bundle swupd: name: foo state: present - name: Removes the "foo" bundle swupd: name: foo state: absent - name: Check integrity of filesystem swupd: verify: yes - name: Downgrade OS to release 12920 swupd: verify: yes manifest: 12920 s stdout: description: stdout of swupd returned: always type: str stderr: description: stderr of swupd returned: always type: str N(t AnsibleModuletSwupdcB`szeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZRS(sfiles did not matchsmissing files were replacedsfiles were fixedsfiles were deletedcC`s||_|jdt|_|js:|jddnx.|jjD]}t|||j|qJWt|_t|_ d|_ d|_ d|_ d|_dS(NtswupdtmsgsCould not find swupd.t(tmodulet get_bin_pathtFalset swupd_cmdt fail_jsontparamstkeystsetattrtchangedtfailedtNoneR trctstderrtstdout(tselfR tkey((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt__init__ps       cC`s.|jj|dt\|_|_|_dS(Ntcheck_rc(R t run_commandRRRR(Rtcmd((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt_run_cmdscC`sd|j|f}|jr0|d|j7}n|jrM|d|j7}n|jrj|d|j7}nF|jr|dkr|d|j7}n|jr|d|j7}n|S(Ns%s %ss --format=%ss --manifest=%ss --url=%ss check-updates --contenturl=%ss --versionurl=%s(Rtformattmanifestturlt contenturlt versionurl(RtcommandR ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt_get_cmds    cC`s.ytjd|Wntk r)tSXtS(Ns/usr/share/clear/bundles/%s(toststattOSErrorRtTrue(Rtbundle((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt_is_bundle_installeds  cC`sX|jd}|j||jdkr/tS|jdkrBtSt|_d|_dS(Ns check-updateiisFailed to check for updates(R(R!RR,RRR (RR ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt _needs_updates  cC`sZ|jd}|j||jdkr@t|_d|_n|j|jkrVtStS(Ntverifyis/Failed to check for filesystem inconsistencies.( R(R!RR,RR tFILES_NOT_MATCHRR(RR ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt _needs_verifys   cC`s|jjr,|jjd|j| n|j|rLd||_dS|jd|}|j||jdkrt|_ d||_dSt|_ d||_dS(s0Installs a bundle with `swupd bundle-add bundle`RsBundle %s is already installedNs bundle-add %sisBundle %s installedsFailed to install bundle %s( R t check_modet exit_jsonR.R R(R!RR,RR(RR-R ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pytinstall_bundles       cC`s|jjr+|jjd|j|n|j|sGd|_dS|jd|}|j||jdkrt|_ d||_dSt|_ d||_dS(s2Removes a bundle with `swupd bundle-remove bundle`RsBundle %s not installedNsbundle-remove %sisBundle %s removedsFailed to remove bundle %s( R R3R4R.R R(R!RR,RR(RR-R ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt remove_bundles      cC`s|jjr(|jjd|jn|jsAd|_dS|jd}|j||jdkrt|_ d|_dSt|_ d|_dS(s"Updates the os with `swupd update`RsThere are no updates availableNtupdateisUpdate successfulsFailed to check for updates( R R3R4R/R R(R!RR,RR(RR ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt update_oss       cC`s|jjr(|jjd|jn|jsAd|_dS|jd}|j||jdkr|j|j ks|j |j ks|j |j krt |_ d|_dSt |_d|_dS(s8Verifies filesystem against specified or current versionRsNo files where changedNs verify --fixisFix successfulsFailed to verify the OS(R R3R4R2R R(R!RtFILES_REPLACEDRt FILES_FIXEDt FILES_DELETEDR,RR(RR ((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyt verify_oss    E   (t__name__t __module__R1R9R:R;RR!R(R.R/R2R5R6R8R<(((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyR js       cC`stdtdtdddtdddtddd gdd d tdd gddd tdddddgdddtdtdddtdddtdtdddtdd dd ddggdd ddggdt}t|}|jd }|jd }|jd}|jd}|rI|jnT|r\|jnA|dkrx|j|n%|dkr|j |n t|_ |j r|j d|j d|j d|jn.|jd|jd|j d|j d|jdS(sThe main function.t argument_specR%ttypetstrR"R#taliasestreleasetversiontinttnameR-tstatetdefaulttpresenttchoicestabsentR7tboolR$R0R&trequired_one_oftmutually_exclusivetsupports_check_modeR RRRN(RtdictRR,R RR8R<R5R6RRR RRR4R(R R RFRGR7R0((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pytmain s>!            (t__main__(t __future__RRRR@t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStRETURNR)tansible.module_utils.basicRtobjectR RQR=(((sF/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/swupd.pyts   3   +