Initial
This commit is contained in:
1 parent
2bc2921c00
commit
2d36bee975
10 files changed
+275
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# Dockerfile.ansible-runner
|
||||
FROM python:3.11-slim
|
||||
|
||||
# Systemabhängigkeiten installieren (SSH, Git, RSync für Ansible)
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
openssh-client \
|
||||
sshpass \
|
||||
git \
|
||||
rsync \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Ansible und spezifische Collections installieren
|
||||
RUN pip install --no-cache-dir ansible ansible-lint
|
||||
|
||||
# Wichtige Collections für Docker und allgemeine Systemverwaltung installieren
|
||||
RUN ansible-galaxy collection install \
|
||||
community.docker \
|
||||
community.general \
|
||||
ansible.posix
|
||||
|
||||
# Arbeitsverzeichnis setzen
|
||||
WORKDIR /ansible
|
||||
|
||||
# Standardbefehl (kann via docker run überschrieben werden)
|
||||
CMD ["ansible", "--version"]
|
||||
Reference in new issue
Block a user