AnotherKamila / AnotherKamila/bsdops

[role:debops.apt] Get rid of the `if not FreeBSD` lines for facts gathering

未关闭
#12 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug role
主要语言
Shell
星标
11
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

On FreeBSD, I set `apt__enabled` to False, and therefore most tasks in `debops.apt` are not run, which is correct. However, the tasks related to gathering facts should be run: it is a fact that apt is not configured on the machine, so the `/etc/ansible/facts.d` data should reflect that.

Currently, if I let those two tasks run with setting `apt__enabled` to false, `debops bootstrap` fails.

To work around that, I have disabled the two tasks on FreeBSD. This is not correct though, as explained above. The right way to handle this would be to fix those two tasks, so that they can run with `apt__enabled: false`.

Therefore, the task is:
- [ ] Check whether upstream debops fails on a Debian host with `apt__enabled: False`.
- [ ] If yes: fix that in upstream; if not: find out what's broken and fix it in my repo.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。