I'm working on a set of modules for controlling an Apache Karaf OSGi node; particularly fetching, installing, and removing OSGi bundles. Karaf has a built in SSH2 server, but it does not have a "BASH" implementation (all commands are specific to Karaf). I can confirm that Ansible has no problem connecting via SSH to Karaf (the connection simply fails on the first command "mkdir -p $HOME/.ansible/...").
I've tried creating my own Connection Plugin, but in debugging, I've realized that connections are really just a way for Ansible to ship shell commands and scripts to be executed on the remote host (which makes sense).
I'm now left in this awkward position of having to use a local connection and manually connect via SSH in the module to execute commands (one at a time). Do you have any recommendations?
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--