There's a bunch of issues about this; https://github.com/ansible/ansible/issues/20736 is one, but I think maybe isn't yours. If you search there for "block always", though, you'll probably find some stuff.
(I also had to reply to this, since I used to also be Josh Smith. But a different one. :^ ) On Thursday, February 1, 2018 at 2:10:34 PM UTC-5, Josh Smith wrote: > > Hello everyone, > > I was asking about this in the IRC channel yesterday when we experienced a > power outage at my office and I was thusly disconnected so I’m giving it a > try here now. > > I have a playbook which contains include/import (I have tried both methods > with the same results) role statements in a Block/Always structure. See > example here: > > https://gist.github.com/jcsmith/c6688e1506f6136b5d858b29ccda5d74 > > When a task fails in the included/imported role in the block section the > always section never executes. Is this expected behavior? > > Thanks, > Josh > > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/56a5f57e-8c70-4c5c-90a1-b550d8ec9113%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
