This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
关于你的问题
它似乎不符合
apt_repository
参数:filename
ansible/modules/apt_repository.py
/etc/apt/sources.list.d/
...”这是预期的行为,因为它具有较低的复杂性和
此方法比更改或编辑现有文件更简单
。您提到的方法
可能会增加不必要的复杂性。
进一步问答
sources.list.d
与sources.list
/etc/apt/sources.list.d
的作用是什么?/etc/apt/sources.list.d
相对于/etc/ 有什么好处apt/sources.list
?Regarding your question
it seems to be not according
apt_repository
Parameter:filename
ansible/modules/apt_repository.py
/etc/apt/sources.list.d/
..."It is the intended behavior as it has less complexity and
this approach is simpler
than changing or editing existing files.Your mentioned approach with
would add probably unnecessary complexity.
Further Q&A
sources.list.d
vs.sources.list
/etc/apt/sources.list.d
?/etc/apt/sources.list.d
over/etc/apt/sources.list
?