Ansible.cfg file's VALUES are not picking up during playbook run

,

We have added custom roles and collections path (both are mentioned below) to an Ansible.cfg file. We then uploaded this Ansible.cfg file in an Execution environment. We then attached the Execution environment to a template (this template is attached to a project) with and ran it in AWX.

collections_paths = ~/.ansible/collections:/usr/share/ansible/collections:./collections

roles_path = ~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:./roles

The problem is these values are not picked by AWX during template run.

We also tried adding these as variables and added into template, added the same Ansible.cfg file as a separate file in the playbook but still these values are not picked up.

Verbosity for the template has been set to : 2 (More Verbose)

We are using AWX in our environment.