I think this may be a simple camel-case issue. Try correcting the role to “dynatrace.oneagent” (all lower case).
Otherwise, it may be that Ansible is looking for the role in the wrong directories. In this case use the ansible.cfg file to specify the roles directory where the oneagent role was installed (/root/.ansible/roles from your screenshots).
Or you can install the role again, this time specifying your project directory, such as:
Thank you very much for your help ; exactly it is a simple camel-case issue
Download the module and copy it into my project. I have presented this problem because I am a little new to Ansible, I am going to reinforce the concept of roles :).
I have already managed to install OneAgent on the servers I needed, I will continue with the automation tasks.