chore: release to stable #123
18
dockerfile
18
dockerfile
@ -1,3 +1,5 @@
|
||||
ARG TARGETPLATFORM=linux/amd64
|
||||
|
||||
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
||||
|
||||
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
||||
@ -7,6 +9,8 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
ENV ANSIBLE_PLAYBOOK_DIR=/etc/ansible/playbooks
|
||||
|
||||
ENV ANSIBLE_COLLECTIONS_PATHS=/etc/ansible/collections
|
||||
|
||||
|
||||
COPY includes /
|
||||
|
||||
@ -48,6 +52,9 @@ RUN apt update \
|
||||
openssh-client \
|
||||
git \
|
||||
sshpass \
|
||||
postgresql-common \
|
||||
postgresql-client \
|
||||
mariadb-client \
|
||||
&& mkdir -p /etc/ansible/roles \
|
||||
&& mkdir -p /etc/ansible/collections \
|
||||
&& mkdir -p /workdir \
|
||||
@ -71,12 +78,13 @@ RUN pip install --index-url https://gitlab.com/api/v4/projects/45741845/packages
|
||||
|
||||
|
||||
RUN ansible-galaxy collection install \
|
||||
awx.awx \
|
||||
kubernetes.core \
|
||||
# community.general.gitlab_*
|
||||
community.general \
|
||||
# ansible.posix.authorized_key for SSH
|
||||
ansible.posix \
|
||||
awx.awx \
|
||||
# community.general.gitlab_*
|
||||
community.general \
|
||||
# docker managment
|
||||
community.docker \
|
||||
community.mysql
|
||||
community.mysql \
|
||||
community.postgresql \
|
||||
kubernetes.core
|
@ -3,4 +3,8 @@ ansible-lint==6.15.0
|
||||
ansible-runner==2.3.4
|
||||
|
||||
# Required for community.general.gitlab_*
|
||||
python_gitlab==3.14.0
|
||||
python_gitlab==3.14.0
|
||||
# community.postgresql
|
||||
psycopg2==2.9.9
|
||||
# community.mysql
|
||||
PyMySQL==1.1.0
|
||||
|
Reference in New Issue
Block a user