Ansible run always role
问题 Is there any way to always run a role? I am creating lock file before starting any deployment to prevent parallel deployment. In case of any failure/success I want to delete the lock file. - { role: lock-deployment, tags: always } - { role: fetch-artifactory, tags: always } - { role: unlock-deployment, tags: always } I want to run unlock-deployment role irrespective of failure/success. 回答1: problem is I don't want to do block, rescue for every task. I just want to delete lock file in case of