added galaxy collection requirements
This commit is contained in:
@@ -26,6 +26,9 @@ COPY ansible-functs.sh /root/.bashrc.d/ansible-functs.sh
|
|||||||
RUN chmod +x /root/.bashrc.d/ansible-functs.sh \
|
RUN chmod +x /root/.bashrc.d/ansible-functs.sh \
|
||||||
&& printf '\n[ -f /root/.bashrc.d/ansible-functs.sh ] && . /root/.bashrc.d/ansible-functs.sh\n' >> /root/.bashrc
|
&& printf '\n[ -f /root/.bashrc.d/ansible-functs.sh ] && . /root/.bashrc.d/ansible-functs.sh\n' >> /root/.bashrc
|
||||||
|
|
||||||
|
COPY requirements.yml /ansible/requirements.yml
|
||||||
|
RUN ansible-galaxy collection install -r /ansible/requirements.yml
|
||||||
|
|
||||||
WORKDIR /ansible
|
WORKDIR /ansible
|
||||||
|
|
||||||
CMD ["ansible-playbook", "--version"]
|
CMD ["ansible-playbook", "--version"]
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
collections:
|
||||||
|
- name: ansible.posix
|
||||||
|
version: 2.2.0
|
||||||
|
- name: community.general
|
||||||
|
version: 13.0.1
|
||||||
|
- name: community.docker
|
||||||
|
version: 5.2.0
|
||||||
Reference in New Issue
Block a user