Set the order of task execution in Ansible with these two keywords

470

Extend Ansible’s flexibility by adding pre_tasks and post_tasks to your playbooks.

Read More at Enable Sysadmin