In this specific case is not an ansible task but the same retry logic can be implemented on the bash function too.
In this specific case is not an ansible task but the same retry logic can be implemented on the bash function too.