title: How to use ansible with two factor authentication?
body: <p>I have enabled two factor authentication for ssh using duosecurity (using this playbook <a href="https://github.com/CoffeeAndCode/ansible-duo" rel="noreferrer">https://github.com/CoffeeAndCode/ansible-duo</a> ).</p>
  
  <p>How can I use ansible to manage the server now. The SSH calls fail at gathering facts because of this. I want the person running the playbook to enter the two factor code before the playbook is run.</p>
  
  <p>Disabling two factor for the deployment user is a possible solution but creates a security issue which I would I like to avoid.</p>