You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| REQUIREMENTS | no || requirements that should be installed for the used tools, currently the following are supported **_[pip, ansible(roles, collections)]_**| requirements:<br> pip:<br> - packaging<br> requests[security]<br> xmltodict<br> ansible:<br> roles:<br> - t_systems_mms.grafana<br> collections:<br> - t_systems_mms.acme=2.3.1<br> - t_systems_mms.icinga_director=1.28.0 ||
84
+
| REQUIREMENTS | no | | requirements that should be installed for the used tools, currently the following are supported **_[pip, ansible(roles, collections)]_** | requirements:<br> pip:<br> packages:<br> - awsume<br> requirements:<br> - [https://raw.githubusercontent.com/ansible-collections/azure/dev/requirements-azure.txt](https://raw.githubusercontent.com/ansible-collections/azure/v1.15.0/requirements-azure.txt)<br> ansible:<br> roles:<br> - t_systems_mms.grafana<br> collections:<br> - t_systems_mms.acme=2.3.1<br> - t_systems_mms.icinga_director=1.28.0<br> requirements:<br> - https://raw.githubusercontent.com/T-Systems-MMS/ansible-role-maxscale/master/requirements.yml | |
85
85
| EXTENSIONS | no || extensions that should be installed for the used tools, currently the following are supported **_[az, google, helm]_**| extensions:<br> az:<br> - front-door=1.0.15<br> google:<br> - gsutil<br> - gke-gcloud-auth-plugin<br> - kubectl<br> helm:<br> - https://github.com/databus23/helm-diff=3.5.0<br> - https://github.com/jkroepke/helm-secrets||
86
86
87
87
#### Post Build Config
@@ -148,9 +148,9 @@ If you mount your repositories to the DMC you might want to run it with your loc
148
148
149
149
This should give you a few benefits:
150
150
151
-
- no permissions issues when editing files from within the container
152
-
- being able to use the local ssh auth key for ansible
153
-
- local configuration is used in the container (.bashrc, .gitconfig, .vimrc etc)
151
+
* no permissions issues when editing files from within the container
152
+
* being able to use the local ssh auth key for ansible
153
+
* local configuration is used in the container (.bashrc, .gitconfig, .vimrc etc)
Copy file name to clipboardExpand all lines: template.d/21_requirements
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@ RUN if [ -n "${REQUIREMENTS}" ]; then \
3
3
IFS=';' && \
4
4
for REQUIREMENT in ${REQUIREMENTS[@]}; do IFS='' && declare -u REQ="${REQUIREMENT}" && REQUIREMENTS_REQ=$(eval "echo \$REQUIREMENTS_${REQ}") && \
5
5
IFS=';' && \
6
-
if [ "${REQ}" = "PIP" ]; then for REQUIREMENT_REQ in ${REQUIREMENTS_REQ[@]}; do pip3 install --no-cache-dir "${REQUIREMENT_REQ//=/==}";done; fi && \
6
+
if [ "${REQ}" = "PIP" ]; then for REQUIREMENT_REQ in ${REQUIREMENTS_PIP_PACKAGES[@]}; do pip3 install --no-cache-dir "${REQUIREMENT_REQ//=/==}"; done && \
7
+
for REQUIREMENT_REQ in ${REQUIREMENTS_PIP_REQUIREMENTS[@]}; do pip3 install --no-cache-dir -r "${REQUIREMENT_REQ}"; done; fi && \
7
8
if [ "${REQ}" = "ANSIBLE" ]; then for REQUIREMENT_REQ in ${REQUIREMENTS_ANSIBLE_ROLES[@]}; do ansible-galaxy install "${REQUIREMENT_REQ//=/,}"; done && \
8
-
for REQUIREMENT_REQ in ${REQUIREMENTS_ANSIBLE_COLLECTIONS[@]}; do ansible-galaxy collection install "${REQUIREMENT_REQ//=/:}"; done; fi; done \
9
+
for REQUIREMENT_REQ in ${REQUIREMENTS_ANSIBLE_COLLECTIONS[@]}; do ansible-galaxy collection install "${REQUIREMENT_REQ//=/:}"; done&& \
10
+
for REQUIREMENT_REQ in ${REQUIREMENTS_ANSIBLE_REQUIREMENTS[@]}; do ansible-galaxy install -r "${REQUIREMENT_REQ}"; done; fi; done \
0 commit comments