AnotherKamila / AnotherKamila/bsdops

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

Đang mở
#12 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug role
Ngôn ngữ chính
Shell
Star
11
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.