This is not possible, because percent_complete is only 20, 60, or 80.
100 is not there. So whatever this means, it won't finish.

On Tue, 20 Jun 2023 at 18:48, Aharonu <[email protected]> wrote:

> Dear All,
>
> Could you please help with the below query.
>
> I have *variable_data *which contains 3 records. I want to keep run *debug
> *task continuously every 1 minute until *percent_complete* == 100 and
> then complete task execution.
>
> Please help to achieve my requirement. Thank you  in advance.
>
> TASK [debug] ***************************************************
> ok: [cluster1] => {
>     "variable_data.msg": {
>         "num_records": 3,
>         "records": [
>             {
>                 "percent_complete": 20,
>                 "state": "in-progress",
>                 "volume": "vol1",
>                 "vserver": "svm1"
>             },
>             {
>                 "percent_complete": 50,
>                 "state": "in-progress",
>                 "volume": "vol2",
>                 "vserver": "svm1"
>             },
>             {
>                 "percent_complete": 80,
>                 "state": "in-progress",
>                 "volume": "vol3",
>                 "vserver": "svm2"
>             }
>         ]
>     }
> }
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CANGEjuXPNuy2guY3VRyE0yj7tPz-TrOORp5VCvaKBgfD9qyPcQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CANGEjuXPNuy2guY3VRyE0yj7tPz-TrOORp5VCvaKBgfD9qyPcQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLaDObkFhD4n2%2BBSxe%2BhnWtVAVtvrtBtnWrkkR69CFbpYw%40mail.gmail.com.

Reply via email to