AWX doesn't use supplied Vault Password if vault_password_file is set in ansible.cfg
ERROR! The vault password file /var/lib/awx/projects/_6__elaxy_ansible_deploy/vault_pass.txt was not found
I expected Ansible to use the Vault Credential i explicitly configured and ignore the vault_password_file from the ansible.cfg. Unfortunately the Credential seems to be ignored and Ansible wants to use the (non-existing) Vault Password File instead.
The Job fails with the following error:
ERROR! The vault password file /var/lib/awx/projects/_6__elaxy_ansible_deploy/vault_pass.txt was not found

I have the same issue with the same setup. I also expected from AWX to take the credentials that I provide in the Job template.
I believe I reproduced your expectation here
https://github.com/AlanCoding/Ansible-inventory-file-examples/tree/master/issues/AWX1630
Have you considered using a custom credential type? Make it inject your vault pass into the file vault_pass.txt.
I think that should work and solve your issue. As to the broader question of revoking a setting defined in settings.cfg, that would take more thought as to the implementation and would need to be filed with Ansible core.
I think this probably comes down to ansible's preference in the matter and I don't see us being able to actually override this.
@AlanCoding provided you with a workaround
Have you considered using a custom credential type? Make it inject your vault pass into the file
vault_pass.txt.
I don't understand the workaround; custom credentials can only inject into temporary files (AFAIK), not the specific file required by the ansible.cfg and you are not allowed to set the ANSIBLE_VAULT_PASSWORD_FILE env. If AWX used that instead of --vault-pasword-file wouldn't that fix the issue.
Most helpful comment
I have the same issue with the same setup. I also expected from AWX to take the credentials that I provide in the Job template.