graalvm

Frank Henard 2023-05-18T19:09:31.557969Z

I want to use babashka or even plain Clojure for server provisioning instead of Ansible. I found bbssh https://github.com/epiccastle/bbssh for shelling into my vps and running commands, but I'm having trouble connecting. CircleCI is failing on bbssh and it hasn't had a commit for 4 months. Is anyone else using bbsh or something like it, and if so any recommendations?

borkdude 2023-05-18T19:11:37.851019Z

There is a #spire channel where this project stems from. You can try to ping @retrogradeorbit who is the author over there

👍 1
Frank Henard 2023-05-18T19:12:05.648299Z

I actually meant to post this in babashka, sorry about that

borkdude 2023-05-18T19:12:25.864469Z

OK, feel free to post it in #babashka as well, perhaps you'll get some useful feedback

👍 1
Frank Henard 2023-05-18T19:13:44.864899Z

https://clojurians.slack.com/archives/CLX41ASCS/p1684437163460199

👍 1
port19 2023-05-23T08:18:05.018059Z

bit late to the party but imho you're better off sticking to proven infra tools. Meaning ansible for config management and provisioning, or terraform once you do more complicated cloud provisioning that isn't ergonomic enough in ansible. I doubt you're getting idempotency when executing some handrolled babashka script via some ssh lib. Any good reasons you're moving away from ansible?

Frank Henard 2023-05-23T10:42:02.096849Z

@port19, I did start going the direction of ansible since I'm having trouble with bbssh. > Any good reasons you're moving away from ansible? It's not Clojure 🙂 > I doubt you're getting idempotency I'm having to build my own idempotency even with Ansible (using registers) anyway. babashka would be nicer for any kind of coding like that

borkdude 2023-05-23T10:45:34.970589Z

I've heard some people use bb in combination with ansible

Adam Kalisz 2023-05-23T11:35:40.755729Z

You probably mean the installation script that I have ported to Ansible: https://github.com/OrgPad-com/ansible-role-babashka but that is not what the OP wants I think.