TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Ansible Like/Dislike?

1 pointsby nittanymountabout 2 months ago
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 comments

stop50about 2 months ago
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.
stop50about 2 months ago
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.
zaktoo2about 2 months ago
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 未加载