--start-at-task - not working with roles or do I get the syntax wrong?

hy everybody,

I am trying a barman installation via Ansible which makes use of 4 roles.

Now I want to skip most of the tasks and utilize --start.at-task “name of a task”. I am running into a ‘task not found’ error.

I tried variants like --start.at-task “role name”/“name ot a task” without any luck.

So, do I get the syntax wrong or is there any secret sauce needed when working in a role based scenario, or is --start-at-task simply not made for roles?

I have not heard of that option before, but in any case, the docs on it (https://docs.ansible.com/ansible/latest/user_guide/playbooks_startnstep.html#start-at-task) state:

This feature does not work with tasks inside dynamically re-used roles or tasks

Also it uses dashed “–start-at-task” instead of what you use “–start.at-task” (dot)