Ansible Roles fails to run in Interactive mode with local_action module.

Issue Type: user question

Ansible version: 2.1.0.0

Ansible module: local_action

Ansible can't be used in a interactive way like this.

What you can do is using the expect module to automatic answer the question.

An alterative is to use vars_prompt and specify the information on the command line.
https://docs.ansible.com/ansible/playbooks_prompts.html