Open wenerme opened 1 year ago
A lot of issues is related to ssh customize, for me I pushed .ssh/config to repo, then symlink under ~/.ssh/xyz.ssh-config, this make ansible inv easier
~/.ssh/xyz.ssh-config
all: hosts: svr-1:
svr-1 will works as expected.
the workaround is just override the var like https://github.com/ansible-semaphore/semaphore/issues/1258#issuecomment-1608312538
{ "ansible_ssh_common_args": "-F ./proj.ssh-config", }
I think the right option is to add a custom SSH Config file per Project / Inventory cc @fiftin
A lot of issues is related to ssh customize, for me I pushed .ssh/config to repo, then symlink under
~/.ssh/xyz.ssh-config
, this make ansible inv easiersvr-1 will works as expected.
the workaround is just override the var like https://github.com/ansible-semaphore/semaphore/issues/1258#issuecomment-1608312538