Ansible prompt_vars error: GetPassWarning: Cannot control echo on the terminal
<p>I am using Ansible and Docker for automating the environment build process. I use prompt_vars to try to collect the username and password for the git repo but unfortunately i got this error: </p>

<blockquote>
  <p>GetPassWarning: Cannot control echo on the terminal</p>
</blockquote>

<p>The docker ubuntu version is 14.04 and python version is 2.7</p>

<p>The error</p>

<blockquote>
  <p>GetPassWarning: Cannot control echo on the terminal</p>
</blockquote>

<p>is raised by Python and indicates that the terminal you are using does not provide <code>stdin</code>, <code>stdout</code> and <code>stderr</code>. In this case its <code>stderr</code>.</p>

<p>As there is not much information provided in the question I guess it is tried to use interactive elements like <code>prompt_vars</code> inside a <code>Dockerfile</code> which is IMHO not possible.</p>

python docker ansible