TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is there any replacement to Ansible? I hate the DSL

4 点作者 umen将近 3 年前
Hey , I use Ansible alot and I just hate it's DSL I working with it and don't understand why I need to struggle with it Any replacements that I can use real programing that is agentles?

5 条评论

undoware将近 3 年前
I feel you.<p>Ansible means yaml, and yaml reminds me of perl. But not in a fun nostalgic way. Like Perl, yaml has too many &quot;intuitive&quot; features that you never actually use but will for sure be learned, by you, in a hurry, when you typo.<p>Tbh Nixos is what I use instead of Ansible -- you just open Terminator or xargs or do a plain for-loop in a bash script equivalent, open as many ssh connections as you need, and in each, do a one-liner to git-pull the latest conf repo, and then do `nixos-rebuild switch`.<p>Rollbacks are just as simple, and the whole thing is idempotent.<p>Of course you have to have control over which OS is in use, but that&#x27;s a good reason to advocate for Nixos in your workplace.<p>The declarative nix language also quite a journey to learn, but when you get it, nothing else will feel good enough again.<p>Remember to get the treesitter grammar if your editor supports it. I think there is a language server too
tekronis将近 3 年前
You&#x27;ll probably want to checkout <a href="https:&#x2F;&#x2F;pyinfra.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pyinfra.com&#x2F;</a><p>And also depending on what you&#x27;re using Ansible for, you may also be able to use Pulumi: <a href="https:&#x2F;&#x2F;www.pulumi.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pulumi.com&#x2F;</a>
melezhik将近 3 年前
Try out <a href="https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;sparrowdo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;sparrowdo</a> if you are looking for a remote hosts management or sparrow&#x2F;tomtit ( the same engine ) if only for local tasks ( disclaimer - I am the tools author )
slipwalker将近 3 年前
there are &quot;transpilers&quot; for the damn DSL, for instance: <a href="https:&#x2F;&#x2F;github.com&#x2F;brthanmathwoag&#x2F;jancy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brthanmathwoag&#x2F;jancy</a>
verdverm将近 3 年前
SaltStack?