??????????????
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 d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m
Z
m Z d d l m
Z
d d l m Z d d l m Z d „ Z d „ Z d „ Z d
„ Z d „ Z d e f d
„ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿN( t partial( t to_bytest to_text( t AnsibleJSONEncoder( t iteritems( t cPicklec C s„ t j | d d ƒ} | j d d ƒ } t t j | ƒ j ƒ ƒ } t j | d t | ƒ ƒ t j | | ƒ t j | d | ƒ d S( sÍ Handles making sure all data is properly written to file descriptor fd.
In particular, that data is encoded in a character stream-friendly way and
that all data gets written before returning.
t protocoli s
s \rs %d
s %s
N(
R t dumpst replaceR t hashlibt sha1t hexdigestt ost writet len( t fdt objt srct data_hash( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyt write_to_file_descriptor, s c C s) t j d t | ƒ ƒ } | j | | ƒ S( Ns !Q( t structt packR t sendall( t st datat
packed_len( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyt send_dataC s c C sÆ d } t d ƒ } xC t | ƒ | k rW | j | t | ƒ ƒ } | sJ d S| | 7} q Wt j d | | ƒ d } | | } xC t | ƒ | k rÁ | j | t | ƒ ƒ } | s´ d S| | 7} q W| S( Ni t s !Qi ( R R t recvt NoneR t unpack( R t
header_lenR t dt data_len( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyt recv_dataH s
c C s t | j ƒ } y | j | ƒ } WnM t k
rq } t | d d ƒ } t | d | ƒ } | d t | d d ƒf SXd | d f S( Nt codei t errR t errorst surrogate_then_replacei ( t
Connectiont _socket_patht exec_commandt ConnectionErrort getattrR ( t modulet commandt
connectiont outt excR# t message( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyR) Z s c O sA t t j ƒ ƒ } i d d 6| d 6| d 6} | | f | d <| S( Ns 2.0t jsonrpct methodt idt params( t strt uuidt uuid4( t method_t argst kwargst reqidt req( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyt request_buildere s R* c B s e Z d „ Z RS( c O sG t t | ƒ j | ƒ x* t | ƒ D] \ } } t | | | ƒ q# Wd S( N( t superR* t __init__R t setattr( t selfR1 R: R; t kt v( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyR@ o s ( t __name__t
__module__R@ ( ( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyR* m s R' c B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s( | d k r t d ƒ ‚ n | | _ d S( Ns socket_path must be a value( R t AssertionErrort socket_path( RB RH ( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyR@ w s c C sb y | j | SWnL t k
r] | j d ƒ rM t d | j j | f ƒ ‚ n t | j | ƒ SXd S( Nt _s! '%s' object has no attribute '%s'( t __dict__t KeyErrort
startswitht AttributeErrort __class__RE R t __rpc__( RB t name( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/connection.pyt __getattr__| s
c O s´ t | | | Ž } | d } t j j | j ƒ s@ t d ƒ ‚ n y t j | d t ƒ} Wn) t k
r„ } t d t
| ƒ ƒ ‚ n Xy | j | ƒ } Wn@ t j
k
rÚ } t d d t
| d d ƒd t j ƒ ƒ‚ n Xy t j | ƒ }
Wn t k
r| j d
ƒ r(t d j | | ƒ ƒ ‚ n t | ƒ g t | ƒ D] \ } } d j | | ƒ ^ q>}
d
j |
ƒ }
t d j | |
| ƒ ƒ ‚ n X|
d | k r°t d ƒ ‚ n |
S( NR4 s| socket_path does not exist or cannot be found.
See the socket_path issue category in Network Debug and Troubleshooting Guidet clssq Failed to encode some variables as JSON for communication with ansible-connection. The original exception was: %ssj unable to connect to socket. See the socket_path issue category in Network Debug and Troubleshooting GuideR$ R% R&