Remix.run Logo
▲ halsafar 4 hours ago

Wouldn't it be cheaper to use AI to just build Ansible playbooks? Instead of burning tokens on every use burn them up front to make re-usable things that don't need AI in the loop.

▲ssernikk 2 hours ago | parent | next [-]

Exactly my thoughts. Or even better, use Nix and have the whole remote VM generated deterministically from one config (that can be written/edited by LLM).

▲rovr138 4 hours ago | parent | prev | next [-]

And to keep track of what's the actual setup. For example, in case one needs to rebuild or anything else.

▲6bR35 4 hours ago | parent | prev | next [-]

Fair, and for a known, repeatable job you're right. That's what Ansible is for. Where opsh is aimed is the step before that. Tou don't know yet what's broken or which hosts are affected. Why did this service die, what changed since last week. Writing a playbook up front assumes you already know the desired state and the steps, and a lot of ops work is finding that out.

▲XorNot 3 hours ago | parent | next [-]

...I mean I do this all the time, but Claude just goes into the server and investigates for me. Why would I need anything in the middle of that action except as sanity checking (which I have - I have a whole SSH proxy/command approval suite, but mostly it's just "15 minutes of access to have a look around").

▲qeternity 3 hours ago | parent | prev [-]

Why does this comment reek of AI?

The "You" -> "Tou" typo seems almost too obvious, and the sort of thing that every autocorrect would catch.

▲eventualcomp 2 hours ago | parent [-]

It may not be, but exposed to so much AI verbiage it changes how you speak.

Reading is not a read-only operation on the brain. (Similarly I force myself to read pre-2022 books so I don't lose my marbles).

▲onyx47 3 hours ago | parent | prev | next [-]

[dead]

▲simtel20 4 hours ago | parent | prev [-]

In a lot of cases ansible is a very slow ssh cannon. Having a tool write adhoc commands and have a way to evaluate the results seems like a reasonable step to experiment to improve on ansible and other second generation configuration management systems.

▲ninth_ant 4 hours ago | parent [-]

These aren’t mutually exclusive.

Once you’ve got ansible (or similar) setup you just tell your agent too ssh to a host and perform tasks and it will. It will be able to use what it already knows about your systems from ansible, so it’s completely painless.

There is little value in this tool unless you plan to only do bespoke maintenance on individual hosts occasionally. Just invest a bit of time and do it right, it pays off very quickly.