??????????????
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@`s9ddlmZmZmZeZdZdZdZddl m Z ddl m Z ddl mZmZmZddlmZmZdd lmZdd lmZdd lmZdd lmZdd lZdd lZdd lZeƒZde fd„ƒYZ!de"fd„ƒYZ#de fd„ƒYZ$d S(i(tabsolute_importtdivisiontprint_functions author: - Kyrylo Galanov (galanoff@gmail.com) lookup: manifold version_added: "2.8" short_description: get credentials from Manifold.co description: - Retrieves resources' credentials from Manifold.co options: _terms: description: - Optional list of resource labels to lookup on Manifold.co. If no resources are specified, all matched resources will be returned. type: list elements: string required: False api_token: description: - manifold API token type: string required: True env: - name: MANIFOLD_API_TOKEN project: description: - The project label you want to get the resource for. type: string required: False team: description: - The team label you want to get the resource for. type: string required: False s‰ - name: all available resources debug: msg="{{ lookup('manifold', api_token='SecretToken') }}" - name: all available resources for a specific project in specific team debug: msg="{{ lookup('manifold', api_token='SecretToken', project='poject-1', team='team-2') }}" - name: two specific resources debug: msg="{{ lookup('manifold', 'resource-1', 'resource-2') }}" s _raw: description: - dictionary of credentials ready to be consumed as environment variables. If multiple resources define the same environment variable(s), the last one returned by the Manifold API will take precedence. type: dict (t AnsibleError(t LookupBase(topen_urltConnectionErrortSSLValidationError(t HTTPErrortURLError(t urlencode(tsix(tDisplay(tformat_exceptionNtApiErrorcB`seZRS((t__name__t __module__(((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pyRIstManifoldApiClientcB`sYeZdZdZd„Zd„Zdddd„Zdd„Zdd„Z d„Z RS( s+https://api.{api}.manifold.co/v1/{endpoint}spython-manifold-ansible-1.0.0cC`s ||_dS(N(t_token(tselfttoken((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pyt__init__Qsc O`sψidj|jƒd6dd6}|jjd|d|ƒ}|}|jddƒ}|ri|j|ƒnyutjdj|ƒƒt|d|d |j ||Ž} | j ƒ} | j j d ƒd krΩt j| ƒ} n| SWntk rtd jd | d|ƒƒ‚nεtk rQ} tdjdt| ƒd|d| j ƒƒƒ‚n£tk r‡} tdjd|dt| ƒƒƒ‚nmtk r½} tdjd|dt| ƒƒƒ‚n7tk rσ} tdjd|dt| ƒƒƒ‚nXdS(s³ Send a request to API backend and pre-process a response. :param api: API to send a request to :type api: str :param endpoint: API endpoint to fetch data from :type endpoint: str :param args: other args for open_url :param kwargs: other kwargs for open_url :return: server response. JSON response is automatically deserialized. :rtype: dict | list | str s Bearer {0}t Authorizations*/*tAccepttapitendpointtheaderss!manifold lookup connecting to {0}t http_agents content-typesapplication/jsons<JSON response can't be parsed while requesting {url}: {json}tjsonturls9Server returned: {err} while requesting {url}: {response}terrtresponses#Failed lookup url for {url} : {err}s:Error validating the server's certificate for {url}: {err}s Error connecting to {url}: {err}N(tformatRtbase_urltpoptNonetupdatetdisplaytvvvvRRtreadRtgetRtloadst ValueErrorRRtstrR RR( RRRtargstkwargstdefault_headersRRt arg_headersRtdatate((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pytrequestTs4  !  ! '''cC`sxd}d}i}|r%||d©s(R2tlisttfilter(RR7RRR0((R7sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pyt get_teamsœs !cC`sRd}d}i}|r%||dtk rStjƒ\}}}tt|||ƒƒ‚nXdS(sC :param terms: a list of resources lookups to run. :param variables: ansible variables active at the time of the lookup :param api_token: API token :param project: optional project label :param team: optional team label :return: a dictionary of resources credentials tMANIFOLD_API_TOKENsSAPI token is required. Please set api_token parameter or MANIFOLD_API_TOKEN env varisTeam '{0}' does not existtidsProject '{0}' does not existiR5R6R7c`s|ddˆkS(NR=R7((R>(tlabels(sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pyR?φsR=sResource(s) {0} do not exists, tvaluess\'{cred_key}' with label '{old_label}' was replaced by resource data with label '{new_label}'tcred_keyt old_labelt new_labelsAPI Error: {0}N(tostgetenvRRRBtlenR R#RDR:R@RAtjoinRFR t iteritemsR%twarningRR+t Exceptiontsystexc_infoR (Rttermst variablest api_tokentprojecttteamtclientt team_dataR5t project_dataR6tresources_datatrtfetched_labelsR7tnot_found_labelst credentialstcred_maptresourcetresource_credentialsRLtcred_valtretR1texc_typet exc_valuet exc_traceback((RJsC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pytrunΞsf  %!!%! (       N(RRR#Rm(((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pyRGΜs(%t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNtansible.errorsRtansible.plugins.lookupRtansible.module_utils.urlsRRRt+ansible.module_utils.six.moves.urllib.errorRR t+ansible.module_utils.six.moves.urllib.parseR tansible.module_utilsR tansible.utils.displayR t tracebackR RRVROR%RURtobjectRRG(((sC/usr/lib/python2.7/site-packages/ansible/plugins/lookup/manifold.pyts&#