When I run my playbook ansible connects properly to the remote machine and executes all commands just fine.
When I run the same playbook from the semaphore UI I get → ssh connection error.
It’s obviously an ssh error but I dont understand why since it works without semaphore.
Could someone pls point me in the right direction?
Thanks
====
The reason for the error was that the remote machine had the wrong ssh key in the authorized_hosts file. When I log in to the Master machine I use ssh agent forwarding so the first time I connected to the slave-machine the wrong key was automatically passed to the authorized_hosts.
I don’t believe Semaphore is supported here, I think it is a whole separate entity.
You could try searching / posting to their issues tab in GitHub (Issues · ansible-semaphore/semaphore · GitHub), but I don’t think anyone actively supports it anymore - at least that’s why I abandoned using it.
There seems to be some recent activity, and from several people. It may be less moribund than you think. (I’ve never used it. In fact I don’t recall hearing about it before now. Looks like a “personal AWX” from a very brief glance.)
It is working fine and the gui is very nice in general. A little bit unclear when it comes to auth keys and permisson elevation etc but the best that l have found so far.