this post was submitted on 29 Nov 2024
5 points (85.7% liked)
Ansible
240 readers
1 users here now
# TODO
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If it's only one task that takes very long, and you don't have any follow up tasks that rely on the outcome of the previous task, you might want to set
async: true
for that task.No, it's a moderately complex role. Could I include the role with
async: true
? There is obviously some dependencies inside the role, but not between the different role inclusions.I think you can use
async
on task level only, but the documentation would be wider than me on that detail.