How to execute one task/role if all others exit with 0

I have a play with multiple section. I want to execute all sections and execute the final section only all above are success.

  • name: pre-step of the setup process
    hosts: HostSet
    gather_facts: false
    strategy: free
    any_errors_fatal: true
    tasks:

  • include : roles/setup_node/tasks/pre-setup.yml

  • name: setup process
    hosts: HostSet
    gather_facts: false
    strategy: free
    any_errors_fatal: true
    role:

  • setup_node

  • name: post-step of the setup process
    hosts: HostSet
    gather_facts: false
    strategy: free
    any_errors_fatal: true
    tasks:

  • include : roles/setup_node/tasks/post-setup.yml

  • name: Update DB for cluster ready
    hosts: DBHosts
    gather_facts: false
    strategy: free
    any_errors_fatal: true
    tasks:

  • include : roles/setup_node/tasks/db_update.yml