??????????????
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ŽddlmZmZmZeZdZddlZeZ yddl Z Wne k rce Z nXddl mZdefd„ƒYZdS(i(tabsolute_importtdivisiontprint_functionsΓ callback: jabber type: notification short_description: post task events to a jabber server description: - The chatty part of ChatOps with a Hipchat server as a target - This callback plugin sends status updates to a HipChat channel during playbook execution. version_added: "2.2" requirements: - xmpp (python lib https://github.com/ArchipelProject/xmpppy) options: server: description: connection info to jabber server required: True env: - name: JABBER_SERV user: description: Jabber user to authenticate as required: True env: - name: JABBER_USER password: description: Password for the user to the jabber server required: True env: - name: JABBER_PASS to: description: chat identifier that will recieve the message required: True env: - name: JABBER_TO N(t CallbackBasetCallbackModulecB`sYeZdZdZdZeZd d„Zd„Z d„Z d„Z d„Z d„Z RS( g@t notificationtjabbercC`sΝtt|ƒjd|ƒts;|jjdƒt|_ntj dƒ|_ tj dƒ|_ tj dƒ|_ tj dƒ|_ |j p€|j p€|j p€|j dkrΙt|_|jjdƒndS(NtdisplaysuThe required python xmpp library (xmpppy) is not installed. pip install git+https://github.com/ArchipelProject/xmpppyt JABBER_SERVt JABBER_USERt JABBER_PASSt JABBER_TOscJabber CallBack wants the JABBER_SERV, JABBER_USER, JABBER_PASS and JABBER_TO environment variables(tsuperRt__init__tHAS_XMPPt_displaytwarningtTruetdisabledtostgetenvtservtj_usertj_passtj_totNone(tselfR((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pyR ;s * cC`s¨tj|jƒ}tj|jdgƒ}|jd|jdfƒ|j|jƒ|jd|j ƒƒtj |j |ƒ}|j ddƒ|j |ƒ|jƒdS(s Send messagetdebugtserveriftresourcettypetchatN(txmpptJIDRtClientRtconnecttauthtgetNodeRt getResourcetMessageRtsetAttrtsendt disconnect(Rtmsgtjidtclienttmessage((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pytsend_msgMs% cC`s2|j|j|jjƒ|j|jƒ|_dS(N(t_clean_resultst_resultt_tasktactiont _dump_resultsR(Rtresult((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pytv2_runner_on_okXscC`s ||_dS(N(ttask(RR7tis_conditional((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pytv2_playbook_on_task_start\scC`s'||_|j}|jd|ƒdS(s(Display Playbook and play start messagessAnsible starting play: %sN(tplaytnameR/(RR:R;((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pytv2_playbook_on_play_start_s  c C`sΫ|j}t|jjƒƒ}t}t}xO|D]G}|j|ƒ}|ddkr_t}n|ddkr1t}q1q1W|sˆ|r΄|j}|jd||j ||fƒn#|j}|jd|||fƒdS(Ntfailuresit unreachables2%s: Failures detected %s Host: %s Failed at: %ss9Great! Playbook %s completed: %s Last task debug: %s( R:tsortedt processedtkeystFalset summarizeRRR/R7( RtstatsR;thostsR=R>thtstout((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pytplaybook_on_statses      # N(t__name__t __module__tCALLBACK_VERSIONt CALLBACK_TYPEt CALLBACK_NAMERtCALLBACK_NEEDS_WHITELISTRR R/R6R9R<RI(((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pyR4s    (t __future__RRRRt __metaclass__t DOCUMENTATIONRRRR t ImportErrorRBtansible.plugins.callbackRR(((sC/usr/lib/python2.7/site-packages/ansible/plugins/callback/jabber.pyts!