??????????????
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@`sddlmZmZmZeZdZdZddlZddl Z ddl Z ddl Z ddl m Z ddl mZddlmZddlmZdd lmZd efd YZd efd YZdS(i(tabsolute_importtdivisiontprint_functionsa callback: splunk type: aggregate short_description: Sends task result events to Splunk HTTP Event Collector author: "Stuart Hirst " description: - This callback plugin will send task results as JSON formatted events to a Splunk HTTP collector. - The companion Splunk Monitoring & Diagnostics App is available here "https://splunkbase.splunk.com/app/4023/" - Credit to "Ryan Currah (@ryancurrah)" for original source upon which this is based. version_added: "2.7" requirements: - Whitelisting this callback plugin - 'Create a HTTP Event Collector in Splunk' - 'Define the url and token in ansible.cfg' options: url: description: URL to the Splunk HTTP collector source env: - name: SPLUNK_URL ini: - section: callback_splunk key: url authtoken: description: Token to authenticate the connection to the Splunk HTTP collector env: - name: SPLUNK_AUTHTOKEN ini: - section: callback_splunk key: authtoken s examples: > To enable, add this to your ansible.cfg file in the defaults block [defaults] callback_whitelist = splunk Set the environment variable export SPLUNK_URL=http://mysplunkinstance.datapaas.io:8088/services/collector/event export SPLUNK_AUTHTOKEN=f23blad6-5965-4537-bf69-5b5a545blabla88 Set the ansible.cfg variable in the callback_splunk block [callback_splunk] url = http://mysplunkinstance.datapaas.io:8088/services/collector/event authtoken = f23blad6-5965-4537-bf69-5b5a545blabla88 N(tdatetime(tbasename(topen_url(tAnsibleJSONEncoder(t CallbackBasetSplunkHTTPCollectorSourcecB`seZdZdZRS(cC`sjt|_d|_d|_ttj|_tj |_ tj tj |_ t j|_dS(Nt(tFalsetansible_check_modetansible_playbooktansible_versiontstrtuuidtuuid4tsessiontsockett gethostnamethostt gethostbynamet ip_addresstgetpasstgetusertuser(tself((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pyt__init__Os   c C`s|jdjdtkr(t|_n|jdjdrZ|jdjd|_n|jjr{t|jj}nd}d|jkr|jd=ni}|jj |d<|j |d<||d((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pyt_runtimes cC`stt|jd|d|d||jd|_|jdkrbt|_|jj dn|jd|_ |j dkrt|_|jj dndS(Nt task_keyst var_optionstdirectR;sSplunk HTTP collector source URL was not provided. The Splunk HTTP collector source URL can be provided using the `SPLUNK_URL` environment variable or in the ansible.cfg file.R<sSplunk HTTP collector requires an authenticationtoken. The Splunk HTTP collector authentication token can be provided using the `SPLUNK_AUTHTOKEN` environment variable or in the ansible.cfg file.( RHRDt set_optionst get_optionR;R2R/tdisabledt_displaytwarningR<(RRLRMRN((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pyROs%  cC`st|j|j_dS(N(Rt _file_nameRFR (Rtplaybook((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pytv2_playbook_on_startscC`stj|j|jtkwargs((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pytv2_runner_on_oks  cK`s/|jj|j|jd||j|dS(NtSKIPPED(RFRAR;R<RK(RR>R\((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pytv2_runner_on_skippeds  cK`s/|jj|j|jd||j|dS(NtFAILED(RFRAR;R<RK(RR>R\((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pytv2_runner_on_faileds  cK`s/|jj|j|jd||j|dS(NR`(RFRAR;R<RK(RR>R\((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pytrunner_on_async_faileds  cK`s/|jj|j|jd||j|dS(Nt UNREACHABLE(RFRAR;R<RK(RR>R\((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pytv2_runner_on_unreachables  N(RBRCtCALLBACK_VERSIONt CALLBACK_TYPEt CALLBACK_NAMER/tCALLBACK_NEEDS_WHITELISTR2RRKRORVRYRZR]R_RaRbRd(((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pyRDs      (t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLESR9RRRRtos.pathRtansible.module_utils.urlsRtansible.parsing.ajsonRtansible.plugins.callbackRtobjectRRD(((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/splunk.pyts    ;