I would have to dig in but it looks like you might be getting a `
play_context.start_at_task = None` and this sounds like a great test to add.

On Thu, Sep 8, 2022 at 9:00 AM Henk Wiedig <wied...@gmail.com> wrote:

> Hi everyone !
> I have a question regarding the combination of serial and start-at-task.
> Consider the follwoing play:
>
> ---
> - name: "play"
>   hosts: all
>   serial: 1
>   gather_facts: no
>
>   tasks:
>     - name: task 1
>       debug:
>         msg: "Hello from task 1"
>     - name: task 2
>       debug:
>         msg: "Hello from task 2"
>
> When i run this useing --start-at-task="task 2" ony the first host starts
> at "task2".
> A subsequent hosts run the full play.
> My expectation was that all host start at "task2" in their batch.
>
> Is this my fault, is this a bug or intentional ?
>
> Thanks Henk
>
>
>
>
>    1.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-devel/ff4e2bd1-40c9-4ac6-b827-e01c625477d0n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-devel/ff4e2bd1-40c9-4ac6-b827-e01c625477d0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
- Andrew "lathama" Latham -

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CA%2Bqj4S-F44fHJOVWyfNVHWMNFLi4hDxE4XGnAvFANYxh6tF_%3Dg%40mail.gmail.com.

Reply via email to