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 \
|
||||
&& 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
|
||||
|
||||
CMD ["ansible-playbook", "--version"]
|
||||
Reference in New Issue
Block a user