Custom Credential Injection

Hey guys,

I posted the following link about an issue with Custom Credentials:

https://www.reddit.com/r/ansible/comments/a8frsf/injector_configuration_with_custom_credentials_to/

Trying to work around the issue, I’m unable to even access the credentials if I try to inject them as environment variables instead of as a file.

I’ve tried echoing an env variable from the host to verify that the credentials aren’t being passed to the host and the host is returning null.

Could anyone assist me with debugging or let me know if I’m using Custom Credentials in the wrong manner?

Configuration Overview:

  1. Google Oath custom creds

  2. Injector variables into the host as ENV variables

  3. Echoing from the ansible shell module returns NULL

  4. docker-compose template (apparently docker_service is very buggy atm) reads ENV variables, would prefer file instead of hardcoded variable names

Thanks…