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

16 views
Skip to first unread message

dulh...@mailbox.org

unread,
Nov 29, 2021, 4:51:07 AM11/29/21
to ansible...@googlegroups.com
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?


Dick Visser

unread,
Nov 29, 2021, 5:00:41 AM11/29/21
to ansible...@googlegroups.com
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)

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1655872842.380705.1638179448319%40office.mailbox.org.


--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages