??????????????
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@`sddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l Z dd l Z d Z y*dd l mZdd lmZeZWn#ek r¹e jƒZ eZnXdd lmZmZddlmZd„Zd„Zddd„ƒYZedkreƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys- --- module: znode version_added: "2.0" short_description: Create, delete, retrieve, and update znodes using ZooKeeper description: - Create, delete, retrieve, and update znodes using ZooKeeper. options: hosts: description: - A list of ZooKeeper servers (format '[server]:[port]'). required: true name: description: - The path of the znode. required: true value: description: - The value assigned to the znode. op: description: - An operation to perform. Mutually exclusive with state. state: description: - The state to enforce. Mutually exclusive with op. timeout: description: - The amount of time to wait for a node to appear. default: 300 recursive: description: - Recursively delete node and all its children. type: bool default: 'no' version_added: "2.1" requirements: - kazoo >= 2.1 - python >= 2.6 author: "Trey Perry (@treyperry)" s; # Creating or updating a znode with a given value - znode: hosts: 'localhost:2181' name: /mypath value: myvalue state: present # Getting the value and stat structure for a znode - znode: hosts: 'localhost:2181' name: /mypath op: get # Listing a particular znode's children - znode: hosts: 'localhost:2181' name: /zookeeper op: list # Waiting 20 seconds for a znode to appear at path /mypath - znode: hosts: 'localhost:2181' name: /mypath op: wait timeout: 20 # Deleting a znode at path /mypath - znode: hosts: 'localhost:2181' name: /mypath state: absent # Creating or updating a znode with a given value on a remote Zookeeper - znode: hosts: 'my-zookeeper-node:2181' name: /mypath value: myvalue state: present delegate_to: 127.0.0.1 N(t KazooClient(tKazooTimeoutError(t AnsibleModuletmissing_required_lib(tto_bytescC`s(tdtdtdtddƒdtdtddƒdtdtddddƒd tdtddd d d d gƒdtd ddgƒdtdtddddƒdtdtdtddƒƒdtƒ}tsñ|jdtdƒdtƒnt |j ƒ}|ds!|jd|dƒnt |ƒ}y|j ƒWn!t k r^|jddƒnXii|jd 6|jd 6|jd 6d 6i|jd6|jd6d6}d |j krÍ|j d dk rÍd nd}|j |}|||ƒ\}}|jƒ|r|j|n |j|dS(Nt argument_specthoststrequiredttypetstrtnametvaluetdefaulttoptchoicestgettwaittlisttstatetpresenttabsentttimeouti,tintt recursivetbooltsupports_check_modetmsgs kazoo >= 2.1t exceptiontsuccesss3The connection to the ZooKeeper ensemble timed out.(R tdicttTruetFalsetNonetKAZOO_INSTALLEDt fail_jsonR t KAZOO_IMP_ERRt check_paramstparamstKazooCommandProxytstartR RRRRRtshutdownt exit_json(tmoduletchecktzoot command_dictt command_typetmethodtresultt result_dict((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pytmainqsF$       .  cC`sY|d r(|d r(itd6dd6S|drN|drNitd6dd6Sitd6S(NRRR$s+Please define an operation (op) or a state.R"s9Please choose an operation (op) or a state, but not both.(R'R&(R-((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR,£s R.cB`s€eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d d „ZRS(cC`s#||_t|jdƒ|_dS(NR(R2RR-tzk(tselfR2((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyt__init__®s cC`s|j|jjdƒS(NR(t_absentR2R-(R<((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR²scC`s|jj|ƒS(N(R;texists(R<tznode((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR?µscC`sR|jj|jjdƒ}tit|ƒd6|d6dd6|jjdd6fS(NRtcounttitemssRetrieved znodes in path.R"R@(R;t get_childrenR2R-R&tlen(R<tchildren((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR¸s!cC`s$|j|jjd|jjdƒS(NRR(t_presentR2R-(R<((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR½scC`s|j|jjdƒS(NR(t_getR2R-(R<((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyRÀscC`s|jjƒ|jjƒdS(N(R;tstoptclose(R<((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR0Ãs cC`s|jjƒdS(N(R;R/(R<((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR/ÇscC`s$|j|jjd|jjdƒS(NRR(t_waitR2R-(R<((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyRÊscC`sc|j|ƒrG|jj|d|jjdƒtitd6dd6fStitd6dd6fSdS(NRtchangedsThe znode was deleted.R"sThe znode does not exist.(R?R;tdeleteR2R-R&R'(R<R@((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR>Ís cC`sÉ|j|ƒr²|jj|ƒ\}}i}xWt|ƒD]I}|jdƒs:t||ƒ}t|ttfƒrƒ|||RGRFRJ(((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyR.­s            t__main__((t __future__RRRRt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESR\t tracebackR(R+t kazoo.clientRtkazoo.handlers.threadingR R&R)t ImportErrort format_excR'tansible.module_utils.basicR R tansible.module_utils._textR R:R,R.R`(((sD/usr/lib/python2.7/site-packages/ansible/modules/clustering/znode.pyts.   **       2 R