This repository was archived by the owner on Jan 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
the command is always reported as changed #25
Comments
@JanMalte could you please share the command you're using? a little easier to debug from that :) |
- 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 |
Did you get anywhere with this? I'm currently experiencing the same issue with the below config:
|
Just found this patch on a fork from @grypyrg which solved my issue: grypyrg@dc32394 |
I sent a new PR #29. I thought I sent it before. |
a related PR for multiple entries on the list - #30. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
using this great command to set up
.ssh/config
is always reporting as changed to ansible.It should only report as changed, if the file was changed.
The text was updated successfully, but these errors were encountered: