title: Ansible: How to loop a command and ignore the return code?
body: <p>I'm trying to loop a command and wait for a certain phrase in stdout, but the task will prematurely fail because the command will return "1" if it can't connect. How can I make it ignore the return code?</p>
  
  <pre><code>- name: Wait for Fabric Creation to complete
    action: shell /usr/local/jboss/jboss-fuse/bin/client container-list
    register: result
    until: result.stdout.find("success")
    retries: 20
    delay: 10
  </code></pre>