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

Add a requirements.txt to the ansible container and have pip install … #11

Merged
merged 5 commits into from
Jan 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
rjw57 marked this conversation as resolved.
Show resolved Hide resolved

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