1
This commit is contained in:
commit
72c4d16448
37 files changed
+1126
No files matched your search
@@ -0,0 +1,18 @@
|
||||
FROM python:3.10
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install sshpass rsync curl wget ruby socat netcat git -y && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --upgrade pip --no-cache-dir && \
|
||||
pip install ansible --no-cache-dir
|
||||
|
||||
RUN ansible-galaxy collection install community.general && \
|
||||
ansible-galaxy collection install ansible.posix && \
|
||||
ansible-galaxy collection install community.docker && \
|
||||
ansible-galaxy collection list
|
||||
|
||||
RUN mkdir -p /root/.ssh
|
||||
|
||||
CMD ["ansible-playbook"]
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
collections:
|
||||
- community.general
|
||||
- ansible.posix
|
||||
- community.docker
|
||||
Reference in new issue
Block a user