gpt4 book ai didi

python - 如何使用 ansible 和 module portinstall 安装 FreeBSD port?

转载 作者:行者123 更新时间:2023-12-01 03:45:19 26 4
gpt4 key购买 nike

我需要使用 shell 中的东西构建端口:

cd /usr/ports/www/nginx/ && make HTTP_GEOIP=YES BATCH=yes

我可以找到any文档,如何使用 ansible module portinstall 运行它=(

最佳答案

我想补充一下。不幸的是,建议的解决方法不是幂等的。


- 名称:使用 geoip 构建 Nginx。
命令:make HTTP_GEOIP=YES BATCH=yes
参数:
chdir:/usr/ports/www/nginx/
这意味着,它将始终报告为“已更改”。

关于python - 如何使用 ansible 和 module portinstall 安装 FreeBSD port?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39021119/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com