post_tasks did not run for all hosts after 1 host failed block in role

Hi guys,

Ran a playbook against 2 hosts: host1 and host2

Extract of playbook:

roles:

  • role: a
  • role: b
  • role: c

post_tasks:

  • name: Post Task 1

::::::::::::::::::::::::::

  • name: Post Task 2
    ::::::::::::::::::::::::::
  • name: Post Task 3

::::::::::::::::::::::::::

In role c the main task is like:

Hi,

Actually I’m only getting this behavior when using the ansible integration for StackStorm https://github.com/StackStorm-Exchange/stackstorm-ansible

Running this playbook using plain ansible behaves as I expected it would i.e. host1 executes post_tasks.

Cheers,
Daniel