Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #11 from uisautomation/add-requirements-for-docker…
Browse files Browse the repository at this point in the history
…-swarm-and-openstack

Add a requirements.txt to the ansible container and have pip install …
  • Loading branch information
rjw57 authored Jan 24, 2019
2 parents bf34793 + e94d6fe commit f3e99ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible-playbook/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM python:3.7

ADD requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

RUN pip install 'ansible~=$ANSIBLE_VERSION'

ENV VAULT_PASSWORD=
Expand Down
7 changes: 7 additions & 0 deletions ansible-playbook/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# The openstack SDK is an enabler for all the OpenStack modules at
# https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#openstack
openstacksdk

# The netaddr module is neded to use the ipaddr jinja filter as used in the docker swarm
# playbook when creating custom networks
netaddr

0 comments on commit f3e99ec

Please sign in to comment.