Comments (6)
@JanMalte could you please share the command you're using? a little easier to debug from that :)
from ansible-ssh-config.
- name: add gitlab.company.de to ssh config
ssh_config: host=gitlab.company.de
hostname=queen.company.de
port=2215
remote_user=git
identity_file=/root/.ssh/id_gitlab_deploy
user=root
state=present
tags: ssh
- name: add gitlab.3rdparty to ssh config
ssh_config: host=gitlab.3rdparty
hostname=gitlab.3rdparty
remote_user=git
identity_file=/root/.ssh/id_gitlab_deploy
strict_host_key_checking=no
user=root
state=present
tags: ssh
from ansible-ssh-config.
Did you get anywhere with this? I'm currently experiencing the same issue with the below config:
- name: Add deploy keys to ssh config
ssh_config:
user: "{{ ansible_user }}"
host: "{{ item.host }}"
hostname: github.com
identity_file: "~/.ssh/{{ item.identity_file }}"
strict_host_key_checking: true
state: present
with_items:
- host: repo1.github.com
identity_file: repo1_deploy.github.id_rsa
- host: repo2.github.com
identity_file: repo2_deploy.github.id_rsa
from ansible-ssh-config.
Just found this patch on a fork from @grypyrg which solved my issue: grypyrg@dc32394
from ansible-ssh-config.
I sent a new PR #29. I thought I sent it before.
from ansible-ssh-config.
a related PR for multiple entries on the list - #30.
from ansible-ssh-config.
Related Issues (9)
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-ssh-config.