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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ansible: Pure (only in its) pragmatism

16 点作者 cue_the_strings22 天前

2 条评论

sam_goody22 天前
The fact that Ansible doesn&#x27;t allow feedback when a task is running, or give you access to the output of the task [it does give the response, but in a urlencoded json field that is useful but not friendly), makes it incredibly difficult for me to write tasks for, and uncomfortable to use.<p>The fact that it makes a new connection for every command, even when just doing a loop, makes it slow as mollasses. To add insult to injury, the name Ansible means &quot;a tool faster than light&quot;!<p>The fact that there is no way to return in the middle of a task, means that I cannot use task files as functions - that is, I cannot just tell Ansible that a given file exists it should stop running this taskfile, it will stop the whole playbook or nothing.<p>And because I cannot add conditions to a block, that means that the best I can do is make deeply nested layers of playbooks - ie. not the Ansible way.<p>These are just off the top of my head - I use Ansible heavily, and curse it all the time!
andreareina22 天前
Has Ansible solved the issue where some tasks (e.g. postgresql_user) require a Python module to be available, which you don&#x27;t want to be installed in the global environment? Last I looked into it you could use a venv but had to monkey around with some envvars and it wasn&#x27;t ergonomic in the least.
评论 #43742135 未加载
评论 #43742095 未加载
评论 #43742261 未加载