15 lines
271 B
Docker
15 lines
271 B
Docker
FROM python:3.11.9-alpine3.20
|
|
|
|
LABEL version="1.0"
|
|
LABEL agent_list="host,container,ndm"
|
|
|
|
RUN \
|
|
pip3 install ansible && \
|
|
apk add openssh sshpass
|
|
|
|
WORKDIR /installer
|
|
|
|
COPY ./installer ./
|
|
|
|
CMD ["ansible-playbook", "-i", "/installer/inventory", "/installer/agent.yml"]
|