Sounds like you could utilize the `ignore_unreachable` keyword: https://docs.ansible.com/ansible/latest/reference_appendices/playbooks_keywords.html#term-ignore-unreachable
On Mon, Jul 20, 2020 at 1:18 PM [email protected] < [email protected]> wrote: > Hi Team, > > We are running a task against 1000 network devices, We get a few hosts > failed and ansible skips those hosts in the next task. > > We are generating a report in the end , We need to have those unreachable > hosts and authentication failure hosts in the report. > > Can anyone help me ? > > Thanks > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-devel/96863a62-4f21-4525-9552-d805bda4bc99n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-devel/96863a62-4f21-4525-9552-d805bda4bc99n%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 Development" 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-devel/CAD8N0v-bur%3D-WHDiiaSCBbLnYjhenr6tR3EA4pyz8X%3DhE2ryAg%40mail.gmail.com.
