Import ansible role versionned from git by lifecycle environment

Hi,

I am looking to use an ansible rôle versioned per environment cycle from the git branches (Library, dev, test, preprod, prod)

Regards,

I find a answer at Ansible as configuration management tool