Hi

My playbook imports a backup that takes a while, and that needs to be
finished before I continue with the rest.
I have created this task:

- name: "Poll backup import process"
  uri: url=http://localhost:8090/setup/longrunningtaskxml.action?taskId={{
taskid }}
    HEADER_Cookie="{{ wizard.set_cookie }}"
    status_code=200
    return_content=yes
  register: longrunner_status
  until: "'<currentStatus>Complete.</currentStatus>' in
longrunner_status.content"
  delay: 5
  retries: 1000


This works great.
But, during this task there is no output.
And because it takes a while, with lots of retries, the screen is
empty after a while, so it's hard to tell what's happening.

Is there a way to have output during the loop?

Thanks




-- 
Dick Visser
Sr. System & Network Engineer
GÉANT

Want to join us? We're hiring: http://www.geant.org/jobs

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEQQDN%3Dzu-P%3Dea0RFOX6%3D2b3s9bx1UBmEPkCtee74vnZfyU-qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to