Put one noop
task at the beginning and end of your role:
---
- name: ToolInstall
ansible.builtin.meta: noop
# ...
- name: ToolInstallEnd
ansible.builtin.meta: noop
Now you can resume from where you left off with:
ansible-playbook playbooks/tool/install.yml --start-at-task=ToolInstall
And you can skip over that role and everything before it with:
ansible-playbook playbooks/tool/install.yml --start-at-task=ToolInstallEnd