-
Notifications
You must be signed in to change notification settings - Fork 137
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
Unable to obtain the current directory #73
Comments
Unfortunately, I don't have enough context to understand why this doesn't work. Can you let me know what commands you are running and how you are mounting the docker container. What it looks like it is doing is loading the "/ansible" directory (which is the default) and then you should be mounting your "playbook-resources" into that. Does this happen on all tasks or just one? |
usage docker run --rm -it -v ~/.ssh/id_rsa:/root/.ssh/id_rsa -v ~/.ssh/id_rsa.pub:/root/.ssh/id_rsa.pub -v $(pwd):/ansible willhallonline/ansible:latest ansible-playbook -i ... |
OK, so if you are using: docker run --rm -it
-v ~/.ssh/id_rsa:/root/.ssh/id_rsa
-v ~/.ssh/id_rsa.pub:/root/.ssh/id_rsa.pub
-v $(pwd):/ansible
willhallonline/ansible:latest
ansible-playbook -i This should work. I guess that I don't really know where |
The text was updated successfully, but these errors were encountered: