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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Ansible Like/Dislike?

1 点作者 nittanymount大约 2 个月前
start using ansible for configuring machines. it has a lot of capacities, while a learning curve to do things in ansible way.<p>say, you have some commands to install&#x2F;configure some tools via ssh. when put the commands into a playbook, it may not run the same way. say environment difference, etc... or may need to rewrite&#x2F;convert some commands to do the ansible way... some suggestions how you adopt ansible, or some other better alternatives ? thanks...

3 条评论

stop50大约 2 个月前
There are two things i don&#x27;t want to miss with ansible: mitogen and the netbox inventory plugin.<p>Mitogen vastly improves ansible by using various techniques to improve the speed. With small runs it doesn&#x27;t save much, but in bigger playbooks it it can improve it by factor 10 or more<p>Netbox is an inventory for hardware. It stores all the data that would require a ton of yaml&#x2F;toml&#x2F;ini files. you want a new server in the virt cluster? Save it in netbox and once ansible is done it can even update netbox so that its displayed as fully operational instead of planed.
stop50大约 2 个月前
For most things ansible is nice, but it has shortcomings. Most collections just are a collection of roles, but some things are better solved in your own modules. I made for myself an collection that manages systemd unit files, so that i can deploy an systemd unit in an ansible way with proper type information. I even automated the documentation, so that i don&#x27;t need to write information about the argumentspec in two different places.
zaktoo2大约 2 个月前
The agentless aspect of Ansible is great. So is the idempotency if used correctly. Once you get used to the Ansible way of working, I think it&#x27;s hard to beat.
评论 #43479758 未加载