??????????????
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 ddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l Z dd l Z dd l Z d Z ydd lZeZWn#ek r±e jƒZ eZnXdd lmZmZdd lmZmZd „Zd„Zedkreƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys= --- module: expect version_added: '2.0' short_description: Executes a command and responds to prompts. description: - The C(expect) module executes a command and responds to prompts. - The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like C($HOME) and operations like C("<"), C(">"), C("|"), and C("&") will not work. options: command: description: - The command module takes command to run. required: true creates: type: path description: - A filename, when it already exists, this step will B(not) be run. removes: type: path description: - A filename, when it does not exist, this step will B(not) be run. chdir: type: path description: - Change into this directory before running the command. responses: type: dict description: - Mapping of expected string/regex and string to respond with. If the response is a list, successive matches return successive responses. List functionality is new in 2.1. required: true timeout: type: int description: - Amount of time in seconds to wait for the expected strings. Use C(null) to disable timeout. default: 30 echo: description: - Whether or not to echo out your response strings. default: false type: bool requirements: - python >= 2.6 - pexpect >= 3.3 notes: - If you want to run a command through the shell (say you are using C(<), C(>), C(|), etc), you must specify a shell in the command such as C(/bin/bash -c "/path/to/something | grep else"). - The question, or key, under I(responses) is a python regex match. Case insensitive searches are indicated with a prefix of C(?i). - By default, if a question is encountered multiple times, its string response will be repeated. If you need different responses for successive question matches, instead of a string response, use a list of strings as the response. The list functionality is new in 2.1. - The M(expect) module is designed for simple scenarios. For more complex needs, consider the use of expect code with the M(shell) or M(script) modules. (An example is part of the M(shell) module documentation) seealso: - module: script - module: shell author: "Matt Martz (@sivel)" s” - name: Case insensitive password string match expect: command: passwd username responses: (?i)password: "MySekretPa$$word" # you don't want to show passwords in your logs no_log: true - name: Generic question with multiple different responses expect: command: /path/to/custom/command responses: Question: - response1 - response2 - response3 N(t AnsibleModuletmissing_required_lib(t to_nativetto_textc`s)d„|Dƒ‰‡‡‡fd†}|S(Ncs`s(|]}dt|ƒjdƒVqdS(u%s u N(R trstrip(t.0tr((sC/usr/lib/python2.7/site-packages/ansible/modules/commands/expect.pys wsc`sHytˆƒSWn3tk rCˆjddˆ|ddfƒnXdS(Ntmsgs0No remaining responses for '%s', output was '%s'tchild_result_listiÿÿÿÿ(tnextt StopIterationt fail_json(tinfo(tmoduletquestiontresp_gen(sC/usr/lib/python2.7/site-packages/ansible/modules/commands/expect.pytwrappedys   ((RRt responsesR((RRRsC/usr/lib/python2.7/site-packages/ansible/modules/commands/expect.pytresponse_closurevs cC`s=tdtdtdtƒdtddƒdtddƒdtddƒd tdd dtƒd tdd d dƒdtddd tƒƒƒ}ts²|jdtdƒdtƒn|jd}|jd}|jd}|jd}|jd }|jd }|jd}tƒ}xg|j ƒD]Y\} } t | t ƒrSt || | ƒ} ndt | ƒjdƒ} | |t | ƒ=3.3. Error was %ss%ss tstarttendtdeltascommand exceeded timeoutsnon-zero return code($RR#tTruetFalset HAS_PEXPECTRR tPEXPECT_IMP_ERRtparamstitemst isinstancetlistRR R tstriptosR tabspathRtexistst exit_jsontdatetimetnowR)trunt TypeErrortrunutAttributeErrort __version__R tExceptionPexpectt tracebackt format_exctNonetstr(RRtargsR!R"RR$R'R1tkeytvaluetresponsetstartdtoutR,tetenddR6tresult((sC/usr/lib/python2.7/site-packages/ansible/modules/commands/expect.pytmain…s–                # *         t__main__(t __future__RRRRt __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESRDR@RLRNR:R)R7R9t ImportErrorRMR8tansible.module_utils.basicRR tansible.module_utils._textR R RRYt__name__(((sC/usr/lib/python2.7/site-packages/ansible/modules/commands/expect.pyts,   D          p