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