I want to share defaults between different roles in Ansible. Is it possible to achieve this directly? Is there a workaround, perhaps a different approach to this problem? I just want to keep DRY defaults.
Have you tried putting thoses variables in /etc/ansible/group_vars/all?
/etc/ansible/group_vars/all
from the documentation :
The default value for the entire network should be defined as the "group_vars / all" parameter.