I'm getting the following error:
...... "msg": "argument responses is of type <type 'list'> and we were unable
to convert to dict"
I'm trying to do this.
- name: Name of the thing I'm doing
hosts: '{{ target }}'
serial: 1
vars_prompt:
- name: "UserName"
prompt: "User Name "
private: yes
- name: "UserPWD"
prompt: "Password "
private: yes
- expect:
echo: yes
command: /use/bin/mybinary argument
responses:
- 'Username': "{{ UserName }}"
- 'Password': "{{ UserPWD }}"
--
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/8b2d6609-1a9d-45ec-ab2e-ffbcb36cb8f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.