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 }}"