Hi Hugo, We are using conda forge, and pexpect is already installed , but no clue when it will finish .
conda-forge::pexpect-4.6.0-py27_1000 Regards, Deepak On Wed, Feb 27, 2019 at 3:36 PM Hugo Gonzalez <[email protected]> wrote: > Hello Deepak, > On 2/27/19 7:43 AM, Deepak Sharma wrote: > > >> >> I am using expect module to install one TIBCO products , >> >> - name: Start Streambase installation >> expect: >> echo: yes >> chdir: /opt/tibco//{{ env }}/install >> command: ./TIB_sb-cep_{{ tib_streambase_version >> }}_linux_x86_64.archive-bin >> responses: >> (.*)Extract files to which directory (.*): /opt/tibco/{{ env >> }}/streambase/sb-cep/10.3 >> (.*)Do you accept this license (.*): "yes" >> >> >> But we are getting below error . >> >> (1, '\r\n{"msg": "The pexpect python module is required", "failed": true, >> "exception": "WARNING: The below traceback may *not* be related to the >> actual failure.\\n File >> \\"/tmp/ansible_expect_payload_vjbqxk/__main__.py\\", line 98, in >> <module>\\n import pexpect\\n", "invocation": {"module_args": {"chdir": >> "/opt/tibco//SIT/install", "responses": {"(.*)Do you accept this license >> (.*)": "yes", "(.*)Extract files to which directory (.*)": >> "/opt/tibco/SIT/streambase/sb-cep/10.3"}, "removes": null, "echo": true, >> "creates": null, "command": "./TIB_sb-cep_10.3.0_linux_x86_64.archive-bin", >> "timeout": 30}}}\r\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.7, OpenSSL 1.0.2g 1 >> Mar 2016\r\ndebug1: Reading configuration data >> /opt/jenkins/.ssh/config\r\ndebug1: /opt/jenkins/.ssh/config line 1: >> Applying options for *\r\ndebug1: Reading configuration data >> /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying >> options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 >> setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version >> 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 >> remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: >> mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: >> done pid = 8282\r\ndebug3: mux_client_request_session: session request >> sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: >> mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received >> exit status from master 1 >> we have also added pexpect python module, but issue still the same . >> > Did you install the module using pip on the *managed node*? Also, a pretty > new version is required, if you installed with the managed node's package > manager, the version may be too old. > > Hugo G. > > Kindly guide us and your help is appreciate . >> Regards, >> Deepak >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/74360946-3b87-4ce2-b769-65218514d946%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/74360946-3b87-4ce2-b769-65218514d946%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CA%2BCJ-ubGUuXG_Bmom-8sWm6bMVYW%2Bk%2BaKsm3gE3oWFO7s%2B9-7w%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CA%2BCJ-ubGUuXG_Bmom-8sWm6bMVYW%2Bk%2BaKsm3gE3oWFO7s%2B9-7w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > > Hugo F. gonzalez > > Senior Consultant > > Red Hat LATAM <https://www.redhat.com> > <https://red.ht/sig> > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/7ff07154-4055-82dc-2b1c-2de6d0fcade6%40redhat.com > <https://groups.google.com/d/msgid/ansible-project/7ff07154-4055-82dc-2b1c-2de6d0fcade6%40redhat.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BCJ-uaAqHe-B0QnCbP6ZY5Mmdw9CGGcpKrdPf0gzAtyS4pzBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
