Merge branch 'development' into 'master'
chore: release to stable See merge request nofusscomputing/projects/ansible/execution_environment!96
This commit is contained in:
18
dockerfile
18
dockerfile
@ -1,3 +1,5 @@
|
|||||||
|
ARG TARGETPLATFORM=linux/amd64
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
||||||
|
|
||||||
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
# 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_PLAYBOOK_DIR=/etc/ansible/playbooks
|
||||||
|
|
||||||
|
ENV ANSIBLE_COLLECTIONS_PATHS=/etc/ansible/collections
|
||||||
|
|
||||||
|
|
||||||
COPY includes /
|
COPY includes /
|
||||||
|
|
||||||
@ -48,6 +52,9 @@ RUN apt update \
|
|||||||
openssh-client \
|
openssh-client \
|
||||||
git \
|
git \
|
||||||
sshpass \
|
sshpass \
|
||||||
|
postgresql-common \
|
||||||
|
postgresql-client \
|
||||||
|
mariadb-client \
|
||||||
&& mkdir -p /etc/ansible/roles \
|
&& mkdir -p /etc/ansible/roles \
|
||||||
&& mkdir -p /etc/ansible/collections \
|
&& mkdir -p /etc/ansible/collections \
|
||||||
&& mkdir -p /workdir \
|
&& 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 \
|
RUN ansible-galaxy collection install \
|
||||||
awx.awx \
|
|
||||||
kubernetes.core \
|
|
||||||
# community.general.gitlab_*
|
|
||||||
community.general \
|
|
||||||
# ansible.posix.authorized_key for SSH
|
# ansible.posix.authorized_key for SSH
|
||||||
ansible.posix \
|
ansible.posix \
|
||||||
|
awx.awx \
|
||||||
|
# community.general.gitlab_*
|
||||||
|
community.general \
|
||||||
# docker managment
|
# docker managment
|
||||||
community.docker \
|
community.docker \
|
||||||
community.mysql
|
community.mysql \
|
||||||
|
community.postgresql \
|
||||||
|
kubernetes.core
|
@ -3,4 +3,8 @@ ansible-lint==6.15.0
|
|||||||
ansible-runner==2.3.4
|
ansible-runner==2.3.4
|
||||||
|
|
||||||
# Required for community.general.gitlab_*
|
# 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