No. It is performed so that later you can have a when statement or similar that checks whether the result was skipped or not.
You should instead use different variable names for your register statements. On Wed, Dec 4, 2019 at 9:31 AM Balazs Varga <[email protected]> wrote: > Hello Team, > > Is there any chance to disable the register command when the task was > skipped? > > Thanks > Balazs > > -- > 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/17f10d35-f4ed-44c6-9ff2-a45d2905b52f%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/17f10d35-f4ed-44c6-9ff2-a45d2905b52f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v_OAHGoYmtGiuR%2BVvE_emXMFxr_w_AxCGSE8xRcbvK-bg%40mail.gmail.com.
