title: ANSIBLE - Answer yes no to questions
body: <p>I am working on a playbook that will upgrade an app I have. Part of that upgrade means that I get asked a question.</p>
  
  <p>Ideally I would like to be able to answer yes / no to these questions and not have to do any sort of pause or prompt for user input.</p>
  
  <p>From what I have read online it is definitely possible but I cannot seem to get it to work for me.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>  - name: Upgrade
      expect:
        command: /tmp/bin/update_script.sh 
        environment:
          JAVA_HOME: /opt/java/
        responses:
          Question:
            - Do you want to use the standard cipher suites [N]: n
  </code></pre>