feat: ansible 镜像迁移至 image/tools-ansible,改用 runtime-python315 并锁定 ansible-core 2.16.3

This commit is contained in:
2026-04-18 21:27:19 +08:00
parent c651afe82c
commit a8648e2989
7 changed files with 749 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM registry.cn-shanghai.aliyuncs.com/odboy/kenaito:runtime-python315
LABEL MAINTAINER="tianjun@odboy.cn"
ENV TimeZone=Asia/Shanghai
WORKDIR /home/admin
# 锁定 ansible-core 版本,避免 EPEL 仓库升级后构建结果漂移;版本不可用会让构建直接失败
RUN set -e && yum install -y \
epel-release \
ansible-core-2.16.3; \
ansible --version