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 3 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
4 changes: 4 additions & 0 deletions ansible-playbook/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Additional modules required to support provisioning OpenStack resources via
# Ansible.
openstacksdk
rjw57 marked this conversation as resolved.
Show resolved Hide resolved
netaddr