# Expect module throwing up unknown error

**URL:** <https://forum.ansible.com/t/expect-module-throwing-up-unknown-error/22291>\
**Category:** Ansible Project\
**Created:** [August 15, 2016, 2:01pm UTC](https://forum.ansible.com/t/expect-module-throwing-up-unknown-error/22291 "2016-08-15T14:01:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![challa.tek](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@challa.tek](https://forum.ansible.com/u/challa.tek)\
**Post date:** [August 15, 2016, 2:01pm UTC](https://forum.ansible.com/t/expect-module-throwing-up-unknown-error/22291/1 "2016-08-15T14:01:51Z")

</div>

My playbook is

```auto
- name: configuring stamp pdf batch
  expect:
   command: ./install.sh
   responses:
    'This will install stamppdf on your system. Do you want to continue[y/N]?': y
    '--More--': \r
    '(?i)Do you agree with this copyright\? \[y/N\]': y
    'AP_FONT_DIR [/usr/local/fonts]': y
    'Now you must enter a valid registration number': '{{ stamp_pdf_key }}'
   echo: yes
  args:
   chdir: '{{ dest_dir }}/StampPDFBatch_60_L26_64'
  become: yes

```

```auto

```

```auto
The error i am getting is

```
