Skip to content

Commit 45d9d3b

Browse files
authored
Merge pull request #16 from stakater/John2020-cyber-patch-1
Fix azure module
2 parents 9cf5a4b + 064041d commit 45d9d3b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,7 @@ RUN pip3 install \
222222
pip \
223223
pyOpenSSL \
224224
pyvmomi \
225-
setuptools \
226-
msrestazure \
227-
azure-mgmt-compute \
228-
azure-mgmt-network \
229-
azure-mgmt-resource \
230-
'ansible[azure]' \
231-
azure-cli
225+
setuptools
232226

233227
#install ansible
234228
RUN if [[ ! -z ${ANSIBLE_VERSION} && ! -z ${JINJA_VERSION} ]] ; then \
@@ -241,6 +235,10 @@ RUN if [[ ! -z ${ANSIBLE_VERSION} && ! -z ${JINJA_VERSION} ]] ; then \
241235

242236
#install ansible collection
243237
RUN ansible-galaxy collection install kubernetes.core
238+
RUN ansible-galaxy collection install azure.azcollection --force
239+
240+
RUN pip3 install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements.txt -v
241+
RUN pip3 install azure-cli
244242

245243
ENV TERM xterm
246244
ENV ZSH_THEME agnoster

0 commit comments

Comments
 (0)