Retry on task groups if one of the task fails.

Hi team,
There is a use case where I use the subdag operator within which I run tasks in sequence and if one of the tasks managed by subdag fails then I retry the subdag.
With airflow 2.0 update, I understand that task group is a substitute for subdags but is there a way to retry a task group after one of its tasks fails?
I have looked for this information on docs and blogs but I have not got any lead, any information or help is appreciated.