Skip to content
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

can get stuck in infinite loop of requiring git-hub username and password. can be bypassed by giving login details as args to one liner. #304

Open
dg-shadow opened this issue Sep 7, 2016 · 0 comments

Comments

@dg-shadow
Copy link
Contributor

dg-shadow commented Sep 7, 2016

TASK [ros_workspace : Load /home/dg/workspaces/flexible/base dependencies just 1 level deep] ***
task path: /tmp/sr-build-tools/ansible/roles/ros_workspace/tasks/main.yml:84
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: dg
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1473243763.32-21652578540870 `" && echo ansible-tmp-1473243763.32-21652578540870="` echo $HOME/.ansible/tmp/ansible-tmp-1473243763.32-21652578540870 `" ) && sleep 0'
<localhost> PUT /tmp/sr-build-tools/ansible/roles/ros_workspace/files/../files/load_repositories.sh TO /home/dg/.ansible/tmp/ansible-tmp-1473243763.32-21652578540870/load_repositories.sh
<localhost> EXEC /bin/sh -c 'chmod -R u+x /home/dg/.ansible/tmp/ansible-tmp-1473243763.32-21652578540870/ && sleep 0'
<localhost> EXEC /bin/sh -c 'LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 /home/dg/.ansible/tmp/ansible-tmp-1473243763.32-21652578540870/load_repositories.sh /home/dg/workspaces/flexible/base/src /home/dg/workspaces/flexible/base/src 1 && sleep 0'
Username for 'https://github.com': Username for 'https://github.com': Username for 'https://github.com': Username for 'https://github.com': Username for 'https://github.com': 

Enter user name.

Password for 'https://[email protected]':

Enter password.

Password for 'https://[email protected]':

Then the last step repeats ad infinitum.

Discovered using one-liner given here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant