Comments (3)
@benheu - That is very strange—the only major difference I can see is you're using Vagrant 2.2.6 (2.2.7 is latest) and VirtualBox 6.0.18 (6.1.6 is latest). Maybe there's a difference there?
If it works with the config in ~/.ssh/config
it seems that's the same as what ansible was trying to use via Vagrant...
from ansible-for-kubernetes.
Interesting, in researching this further I was brought to an issue on a different project I maintain: geerlingguy/drupal-vm#70
In it, someone mentioned IdentitiesOnly yes
was the fix for them, too. It seems like this is a problem that may affect you if you use ssh identities and have more than 5 keys loaded via ssh-add
!
By specifying the key in your ~/.ssh/config
file directly, it offers that key first (no matter how many identities you have in your active ssh agent), and then authentication works.
Check how many keys are active with ssh-add -l
and see if there are five or more.
Closing this issue as I believe that's the reason behind this and the fix, but thanks for posting your experience, hopefully to the benefit of future people who might Google the same issue!
from ansible-for-kubernetes.
Nice catch! Indeed I have 5 of them, thanks for taking the time looking into that.
from ansible-for-kubernetes.
Related Issues (20)
- Slight changes required when installing Ansible inside Bash on Ubuntu HOT 1
- `minikube service` prevents Ansible playbook from showing URL and finishing HOT 4
- Container login should be in pre_tasks not post_tasks
- Ansible is being run in a world writable directory... ignoring it as an ansible.cfg source HOT 4
- test-deployment.yml fails as pip is unavailable on remote host HOT 2
- Warning: Using VirtualBox, WSL2 and Vagrant together causes BSOD on Windows 11
- Love your work - I found this method a bit more elegant with ALB's HOT 2
- [cluster-local-vms] Vagrant up fails on MacOS with Oracle Virtual Box v6.1
- Molecule Kind test is failing due to non-use of FQCNs
- Open Source Ansible for Kubernetes' manuscript
- Leanpub link is broken HOT 3
- [section request] Ansible vs. Helm vs. Operators
- Chapter 3 - Ansible manages containers
- Chapter 3 - Ansible manages containers
- AWX Operator is now on OperatorHub.io
- kubeadm token create --print-join-command fails silently HOT 1
- Ansible now has a certified Terraform collection
- Ansible 101 questions HOT 1
- Dead link on page 9 (minikube)
- Chapter 3: "args warn no" deprecated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-for-kubernetes.