AWX 23.8.1 : getting error "Invalid linkname for tarfile member"

Getting Invalid linkname for tarfile member while running a shared role job.
Hello Community,

We are using shared role concept to run the jobs in AWX and we are getting a below error while synching the project. The project has many roles and it is getting failed on this particular role.


PLAY [Update source tree if necessary] *****************************************

TASK [Delete project directory before update] **********************************
changed: [localhost]

TASK [Update project using git] ************************************************
changed: [localhost]

TASK [Set the git repository version] ******************************************
ok: [localhost]

TASK [Repository Version] ******************************************************
ok: [localhost] => {
    "msg": "Repository Version XXXX
}

PLAY [Perform project signature/checksum verification] *************************

PLAY [Install content with ansible-galaxy command if necessary] ****************

TASK [Warn about disabled content sync] ****************************************
skipping: [localhost]

TASK [End play due to disabled content sync] ***********************************
skipping: [localhost]

TASK [Fetch galaxy roles from roles/requirements.(yml/yaml)] *******************
Username for 'https://$encrypted$: Password for 'https://$encrypted$@gitlab.com': 
Username for 'https://$encrypted$: Password for 'https://$encrypted$@gitlab.com': 
Username for 'https://$encrypted$: Password for 'https://$encrypted$@gitlab.com': 
Username for 'https://$encrypted$: Password for 'https://$encrypted$@gitlab.com': 
Username for 'https://$encrypted$: Password for 'https://$encrypted$@gitlab.com': 
failed: [localhost] (item=/var/lib/awx/projects/_9__ansible_shared_role/roles/requirements.yml)
 => {"ansible_loop_var": "item", "changed": true, "cmd": ["ansible-galaxy", "role", "install", "-r", "/var/lib/awx/projects/_9__ansible_shared_role/roles/requirements.yml"], 
"delta": "0:00:33.978908", "end": "2024-06-07 13:26:28.845210", "item": "/var/lib/awx/projects/_9__ansible_shared_role/roles/requirements.yml", "msg": "non-zero return code","rc": 1, "start": "2024-06-07 13:25:54.866302", 
"stderr": "[WARNING]: - xxxx.ansible_ldap1 was NOT installed successfully: Invalid\\nlinkname for tarfile member: 
path /etc/alternatives/mta-pam is not a subpath of\\nthe role /var/lib/awx/projects/_9__ansible_shared_role/xxxx.ansible_ldap1\\nERROR! - 
you can use --ignore-errors to skip failed roles and finish processing the list.", "stderr_lines": ["[WARNING]: - xxxx.ansible_ldap1 was NOT installed successfully: 
Invalid", "linkname for tarfile member: path /etc/alternatives/mta-pam is not a subpath of", "the role /var/lib/awx/projects/_9__ansible_shared_role/xxxx.ansible_ldap1", 
"ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list."], "stdout": "Starting galaxy role install process\\n- extracting xxxx.ansible-zabbix 
to /var/lib/awx/projects/.__awx_cache/_9__ansible_shared_role/stage/requirements_roles/xxxx.ansible-zabbix\\n- xxxx.ansible-zabbix (noprod) was installed successfully\\n- extracting xxxx.ansible_sudo 
to /var/lib/awx/projects/.__awx_cache/_9__ansible_shared_role/stage/requirements_roles/xxxx.ansible_sudo\\n- xxxx.ansible_sudo (v1.0.1) was installed successfully\\n- extracting xxxx.ansible_cdprinfo 
to /var/lib/awx/projects/.__awx_cache/_9__ansible_shared_role/stage/requirements_roles/xxxx.ansible_cdprinfo\\n- xxxx.ansible_cdprinfo was installed successfully\\n- extracting xxxx.ansible_gemsource 
to /var/lib/awx/projects/.__awx_cache/_9__ansible_shared_role/stage/requirements_roles/xxxx.ansible_gemsource\\n- xxxx.ansible_gemsource was installed successfully\\n- extracting xxxx.ansible_logarchiving 
to /var/lib/awx/projects/.__awx_cache/]}

PLAY RECAP *********************************************************************
localhost                  : ok=4    changed=2    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   

Can you please help us to fix this issue ?

Thanks and regards
Saravana Selvaraj