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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

An Ansible Tutorial

54 点作者 fideloper将近 11 年前

3 条评论

dangerlibrary将近 11 年前
I love Ansible.<p>What&#x27;s scary about shell scripts is the lack of idempotence (if you accidentally run them twice, things break).<p>What&#x27;s annoying about chef&#x2F;puppet is the bootstrapping overhead -- you can&#x27;t start from a blank slate system, because you still need to install puppet-client or ruby+dependencies. So now you&#x27;re paying to store a bunch of semi-pre-configured images with some out-of-date ruby gems or an old puppet-client. If you want to start from a blank image, then you&#x27;re using shell scripts to install the toolchain that will let you avoid using shell scripts (or worse - doing it by hand!).<p>Ansible is idempotent ssh + shell scripting, so it solves the &#x27;blank slate&#x27; problem nicely. It only requires python, which is bundled by default on ubuntu servers.
评论 #8228005 未加载
评论 #8228226 未加载
评论 #8228164 未加载
评论 #8228726 未加载
评论 #8228220 未加载
fideloper将近 11 年前
This weeks edition of Servers for Hackers goes from using ad-hoc commands (shell and other modules), to Playbooks and finally abstracting everything out to a Role with templates, files and variables.
dyeje将近 11 年前
I clicked on this thinking it would be something involving the ansibles from the Ender&#x27;s Game series which allow instant communication across large stretches of space. I should probably take my lunch soon.
评论 #8227833 未加载
评论 #8228139 未加载