--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2126286d-150d-4646-8684-753ee437d67dn%40googlegroups.com.
Ouch! Then you'd have
to put the tasks into their own tasks file, and use include_tasks
...
Or give backuppc_client_mysql_dump
a reasonable |default(...)
so that the looped task(s) would do no harm.
blocks are not a way to skip tasks, a 'when' on a block is just fortasks inside the block to inherit.