??????????????
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»ddlmZmZmZeZddlZddlZddlZddl Z ddl Z ddl Z ddl m Z mZddlmZddlmZddlmZddlmZddlmZmZmZdd lmZmZm Z dd l!m"Z"dd l#m$Z$dd l%m&Z&ydd l'mZWn!e(k r_dd lmZnXe$ƒZ)d„Z*d„Z+defd„ƒYZ,ddd„ƒYZ-ddd„ƒYZ.dS(i(tabsolute_importtdivisiontprint_functionN(tcontextt constants(t AnsibleError(t user_agent(t string_types(t HTTPError(tquotet urlencodeturlparse(tto_bytest to_nativetto_text(topen_url(tDisplay(t secure_hash_s(R c`s‡fd†}|S(sÑ Wrapper to lazily initialize connection info to Galaxy and verify the API versions required are available on the endpoint. :param versions: A list of API versions that the function supports. c`s‡‡fd†}|S(Nc `sN|jsÑtjd|jƒ|j}d|j|f}|jdksW|jdkr`d}ny|j|ddd|ƒ}Wn¢tttt fk r#}|j d ƒs»|j d ƒrÁ‚nt |d ƒ}y|j|ddd|ƒ}Wq$tk r}|j d kr|‚n‚q$XnXd |krLtd ||jfƒ‚n||_|j d idd6ƒ}t|jƒƒdgkr–d|dtdˆjdjˆƒdj|ƒ|j|jfƒ‚nˆ|||ŽS(Ns'Initial connection to galaxy_server: %ss6Error when finding available api versions from %s (%s)shttps://galaxy.ansible.comshttps://galaxy.ansible.com/shttps://galaxy.ansible.com/api/tmethodtGETterror_context_msgs/apis/api/i”tavailable_versionssSTried to find galaxy API root at %s but no 'available_versions' are available on %suv1/uv1uv2/uv2s1Found API version '%s' with Galaxy server %s (%s)s, sPGalaxy action %s requires API versions '%s' but only '%s' are available on %s %s(t_available_api_versionstdisplaytvvvvt api_servertnamet _call_galaxyRt GalaxyErrort ValueErrortKeyErrortendswitht_urljoint http_codetgettlisttkeystjointsett intersectiont__name__( tselftargstkwargstn_urlRtdataterrtnew_errRtcommon_versions(Rtversions(s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pytwrapped+sF          )((RR2(R1(Rs6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyt decorator*s8((R1R3((R1s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyt g_connect#s:cG`sdjd„|dDƒƒS(Nt/cs`s0|]&}|rt|ddƒjdƒVqdS(terrorstsurrogate_or_strictR5N(R tstrip(t.0ta((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pys hst(R;(R%(R*((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyR gsRcB`seZdZd„ZRS(s( Error for bad Galaxy server responses. cC`s×tt|ƒj|ƒ|j|_|jƒ|_y%t|jƒƒ}t j |ƒ}Wnt t fk rui}nX|jj dƒ}d|kr×|jd|jƒ}|jddƒ}d||j||f}níd|kr™|jdgƒ} | sig} ng} xm| D]e} | jd ƒp>| jd ƒp>|j} | jdƒpSd} d |j| | f}| j|ƒqWd |d j| ƒf}n+|jd|jƒ}d||j|f}t|ƒ|_dS(NR5tv2tmessagetcodetUnknownu(%s (HTTP Code: %d, Message: %s Code: %s)tv3R6tdetailttitleu%(HTTP Code: %d, Message: %s Code: %s)s%s %ss, tdefaultu%s (HTTP Code: %d, Message: %s)(tsuperRt__init__R>R!tgeturlturlRtreadtjsontloadstAttributeErrorRtsplitR"treasontappendR%R R=(R)t http_errorR=thttp_msgterr_infot url_splitt galaxy_msgR>tfull_error_msgR6t message_linesterrort error_msgt error_codet message_line((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyREns6      '(R(t __module__t__doc__RE(((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyRkstCollectionVersionMetadatacB`seZd„ZRS(cC`s:||_||_||_||_||_||_dS(s> Contains common information about a collection on a Galaxy server to smooth through API differences for Collection and define a standard meta info for a collection. :param namespace: The namespace name. :param name: The collection name. :param version: The version that the metadata refers to. :param download_url: The URL to download the collection. :param artifact_sha256: The SHA256 of the collection artifact for later verification. :param dependencies: A dict of dependencies of the collection. N(t namespaceRtversiont download_urltartifact_sha256t dependencies(R)R]RR^R_R`Ra((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyRE•s     (R(RZRE(((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyR\“st GalaxyAPIcB`sôeZdZdddd„Zeedddgƒd„ƒƒZdddedd„Z ded„Z edgƒd„ƒZ edgƒddd „ƒZ edgƒdddd „ƒZ edgƒed „ƒZedgƒd „ƒZedgƒd „ƒZedgƒd„ƒZedgƒd„ƒZedgƒd„ƒZedgƒd„ƒZedgƒd„ƒZeddgƒd„ƒZeddgƒdd„ƒZeddgƒd„ƒZeddgƒd„ƒZRS(sM This class is meant to be used as a API client for an Ansible Galaxy server cC`sq||_||_||_||_||_||_tjd |_i|_ t j d|j|jfƒdS(Nt ignore_certss$Validate TLS certificates for %s: %s( tgalaxyRtusernametpasswordttokenRRtCLIARGStvalidate_certsRRtdebug(R)RdRRGReRfRg((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyRE¬s       tv1R<R@cC`s|jS(N(R(R)((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pytavailable_api_versions¸sc C`s.|p i}|j||d|ƒyWtjd|ƒtt|ƒd|d|jd|d|ddd tƒd d ƒ}WnPtk r}t||ƒ‚n/t k rË}t d |t|ƒfƒ‚nXt |j ƒd dƒ} yt j| ƒ} Wn0tk r)t d|jt| ƒfƒ‚nX| S(NtrequiredsCalling Galaxy at %sR-RitheadersRttimeoutit http_agenttfollow_redirectstsafes8Unknown error when attempting to call Galaxy at '%s': %sR6R7s5Failed to parse Galaxy response from '%s' as JSON: %s(t_add_auth_tokenRRRR RiRRRt ExceptionRRRHRIRJRRG( R)RGR*RnRt auth_requiredRtresptet resp_dataR-((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyR¾s" $"  cC`sgd|krdS|j rA|rAtdjttjƒƒƒ‚n|jrc|j|jjƒƒndS(Nt AuthorizationsMNo access token or username set. A token can be set with --api-key or at {0}.(RgRtformatR tCtGALAXY_TOKEN_PATHtupdateRn(R)RnRGt token_typeRm((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyRsÔs   c C`s‚t|j|jddƒd}ti|d6ƒ}t|d|d|jddd tƒƒ}tjt |j ƒd d ƒƒ}|S( s2 Retrieve an authentication token RkttokensR5t github_tokenR-RiRtPOSTRpR6R7( R RRlR RRiRRIRJRRH(R)R€RGR*RvR-((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyt authenticateàs  *!cC`sÃt|j|jddƒd}i|d6|d6|r=|ndd6}|rZ||dtUNKNOWNt descriptions&Unknown error, see %s for more detailss+Galaxy import process failed: %s (Code: %s)N(R‹RlR RRttimeRR£R"tvvvtsleeptminRR RVR›( R)RRoRÕR-tfull_urltstarttwaitR=RØR>RÛ((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pytwait_import_taskÐsF  %        c C`sÃ|jjd|jjdƒƒ}|j|d||d|dg}t|Œ}d||||j|jf}|j|d|ƒ}t|dd |d d |d |d |d d|ddƒS(s} Gets the collection information from the Galaxy server about a specific Collection version. :param namespace: The collection namespace. :param name: The collection name. :param version: Optional version of the collection to get the information for. :return: CollectionVersionMetadata about the collection at the version requested. R@R<R¾R1R5sHError when getting collection version metadata for %s.%s:%s from %s (%s)RR]Rt collectionR^R_tartifactRËtmetadataRa(RlR"RR RRR\( R)R]RR^tapi_patht url_pathstn_collection_urlRR-((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pytget_collection_version_metadata s !!  cC`s_t}d|jkr=|jd}d}ddg}t}n|jd}d}dg}t|j|d||dd ƒ}d |||j|jf}|j|d |ƒ} g} x§trZ| g| |D]} | d ^qÈ7} | } x |D]} | j| iƒ} qìW| sPn$|r6|jt |ƒj | ƒ} n|jt | d dƒd |ƒ} q´W| S(sï Gets a list of available versions for a collection on a Galaxy server. :param namespace: The collection namespace. :param name: The collection name. :return: A list of versions that are available. R@R-tlinksR¢R<RˆR¾R1R5sGError when getting available collection versions for %s.%s from %s (%s)RR^R6R7( tFalseRlR£R RRRR"treplaceR RÁR (R)R]Rt relative_linkRçt results_keytpagination_pathR,RR-R1tvR˜RÁ((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pytget_collection_versions s4      ! %  N(R(RZR[R‹REtpropertyR4RlRìRRsR‚RŽRR£R—R¡R¥R°R´RµR¸RºRÓRãRêRò(((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyRb©s2 !      59(((/t __future__RRRttypet __metaclass__RÊRIRÀRÃRÆRÜtansibleRRR{tansible.errorsRtansible.galaxy.user_agentRtansible.module_utils.sixRt+ansible.module_utils.six.moves.urllib.errorRt+ansible.module_utils.six.moves.urllib.parseR R“R R tansible.module_utils._textR R Rtansible.module_utils.urlsRtansible.utils.displayRtansible.utils.hashingRt urllib.parset ImportErrorRR4R RR\Rb(((s6/usr/lib/python2.7/site-packages/ansible/galaxy/api.pyts6         D (