??????????????
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ÖddlmZmZmZeZdZddlZddlmZddl m Z ddl Z ddl Z yddl Z eZWnek r›eZnXddlmZddlmZdefd „ƒYZdS( i(tabsolute_importtdivisiontprint_functions“ callback: foreman type: notification short_description: Sends events to Foreman description: - This callback will report facts and task events to Foreman https://theforeman.org/ - Before 2.4, if you wanted to use an ini configuration, the file must be placed in the same directory as this plugin and named foreman.ini - In 2.4 and above you can just put it in the main Ansible configuration file. version_added: "2.2" requirements: - whitelisting in configuration - requests (python library) options: url: description: URL to the Foreman server env: - name: FOREMAN_URL required: True default: http://localhost:3000 ini: - section: callback_foreman key: url client_cert: description: X509 certificate to authenticate to Foreman if https is used env: - name: FOREMAN_SSL_CERT default: /etc/foreman/client_cert.pem ini: - section: callback_foreman key: ssl_cert - section: callback_foreman key: client_cert aliases: [ ssl_cert ] client_key: description: the corresponding private key env: - name: FOREMAN_SSL_KEY default: /etc/foreman/client_key.pem ini: - section: callback_foreman key: ssl_key - section: callback_foreman key: client_key aliases: [ ssl_key ] verify_certs: description: - Toggle to decide whether to verify the Foreman certificate. - It can be set to '1' to verify SSL certificates using the installed CAs or to a path pointing to a CA bundle. - Set to '0' to disable certificate checking. env: - name: FOREMAN_SSL_VERIFY default: 1 ini: - section: callback_foreman key: verify_certs N(tdatetime(t defaultdict(tto_text(t CallbackBasetCallbackModulecB`sÄeZdZdZdZeZidd6dd6ZdZd„Z dddd„Z d „Z d „Z d „Zd „Zd „Zd„Zed„Zd„Zd„Zd„Zd„Zd„ZRS(g@t notificationtforemansapplication/jsons Content-TypetAccepts%Y-%m-%d %H:%M:%S %fcC`s;tt|ƒjƒttƒ|_ttjƒƒ|_dS(N( tsuperRt__init__Rtlisttitemstintttimet start_time(tself((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyR _scC`sNtt|ƒjd|d|d|ƒ|jdƒ|_|jdƒ|jdƒf|_t|jdƒƒ|_|jƒ|_ t rÀt t j jdƒd ƒ}|d krÍ|jd ƒqÍn |jd ƒ|jjd ƒrJtjj|jd ƒs|jd|jd ƒntjj|jdƒsJ|jd|jdƒqJndS(Nt task_keyst var_optionstdirectturlt client_certt client_keyt verify_certst.iis(The `requests` python module is too old.s.The `requests` python module is not installed.shttps://sFOREMAN_SSL_CERT %s not found.isFOREMAN_SSL_KEY %s not found.(R Rt set_optionst get_optiont FOREMAN_URLtFOREMAN_SSL_CERTtstrtFOREMAN_SSL_VERIFYt _ssl_verifyt ssl_verifyt HAS_REQUESTSRtrequestst __version__tsplitt_disable_plugint startswithtostpathtexists(RRRRtrequests_major((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyRds%!  cC`s:t|_|r&|jj|dƒn|jjdƒdS(Ns' Disabling the Foreman callback plugin.s&Disabling the Foreman callback plugin.(tTruetdisabledt_displaytwarning(Rtmsg((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyR'|s cC`sp|jjƒdkrt}nN|jjƒd krctjjjƒ|jjd|j ƒt }n |j}|S( Nt1ttruetont0tfalsetoffsSSL verification of %s disabled(R2R3R4(R5R6R7( R tlowerR-R$tpackagesturllib3tdisable_warningsR/R0RtFalse(Rtverify((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyR!ƒs     c C`s»d|dÁsRVtappliedtfailurest unreachableRUtskippedttotalRRQt reported_attmetricststatusR`treportRs/api/v2/reportsRCRDRER=N(Rt processedtkeyst summarizeRbRRRRRRFRGRHR$RIRRJRKRLRR"RMRNRORPR( RtstatsRkRjRQtsumR^RFRlRRRS((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyt send_reports»s6$   cC`s?|jjƒ}|jjƒ}|j|j||jfƒdS(N(t_tasktget_namet_hostRR_t_result(RtresultRARQ((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyt append_resultãscC`s|j|ƒdS(N(Rx(RRwt ignore_errors((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pytv2_runner_on_failedéscC`s|j|ƒdS(N(Rx(RRw((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pytv2_runner_on_unreachableìscC`s|j|ƒdS(N(Rx(RRwtjid((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pytv2_runner_on_async_okïscC`s|j|ƒdS(N(Rx(RRwR|((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pytv2_runner_on_async_failedòscC`s|j|ƒdS(N(Rr(RRp((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pytv2_playbook_on_statsõscC`s`|j}|jj}|dks-d|krO|jjƒ}|j||ƒn |j|ƒdS(Ntsetupt ansible_facts(RvRstactionRuRtRTRx(RRwtrestmoduleRQ((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pytv2_runner_on_okøs   N(t__name__t __module__tCALLBACK_VERSIONt CALLBACK_TYPEt CALLBACK_NAMER-tCALLBACK_NEEDS_WHITELISTRLRHR tNoneRR'R!RTRbRrRxR<RzR{R}R~RR…(((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyRSs,      (      (t __future__RRRttypet __metaclass__t DOCUMENTATIONR)Rt collectionsRRJRR$R-R#t ImportErrorR<tansible.module_utils._textRtansible.plugins.callbackRR(((sD/usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyts9