-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bad follower token: netrc missing "password"? #23
Comments
Yeah I'm thinking one should just be able to supply the contents of the |
Yes that might be useful. I mean, the current configuration is nice & easy and may cover the majority of people's use cases. On the other hand, in our use case we have multiple roles from different private repositories in our requirements.yml. If different credentials are required for each I think this is currently not possible without some workarounds / "manual" changes. Out-of-the-box I only see these possibilities: (A) Using git username/password: Only one username/password combination can be configured (=> (B) Using git ssh keys: Only one key can be configured (but: e.g. if you want to use github deploy keys and have multiple repos, you would need to configure multiple keys). |
According to e.g. https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html, I gather the format of netrc should be:
"default login #{username} password #{password}\n"
instead ofconcourse-ansible-playbook-resource/assets/lib/git_config.rb
Line 17 in 8940530
I had errors complaining about a "bad follower token". For my use case, I overwrote the generated netrc with the following, which fixed the problem:
The text was updated successfully, but these errors were encountered: