Ansible: show the effective configuration with ansible-config dump
List all Ansible settings and their values, e.g. DEFAULT_ROLES_PATH.
To see Ansible's effective configuration (defaults, ansible.cfg file, environment variables), use ansible-config.
# show the whole configuration
ansible-config dump
ansible-config dump lists every setting with its current value. To find a specific setting, filter the output, for example on DEFAULT_ROLES_PATH, which is the search path for roles:
ansible-config dump | grep DEFAULT_ROLES_PATH