summaryrefslogtreecommitdiffstats
path: root/lib/ansible/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/playbooks')
-rw-r--r--lib/ansible/playbooks/build_dependencies.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/build_dependencies.yml b/lib/ansible/playbooks/build_dependencies.yml
new file mode 100644
index 00000000..dcf2ed94
--- /dev/null
+++ b/lib/ansible/playbooks/build_dependencies.yml
@@ -0,0 +1,21 @@
+---
+- hosts: localhost
+ tasks:
+ - name: Add rdo-release repo
+ yum:
+ name: 'https://www.rdoproject.org/repos/rdo-release.rpm'
+ - name: Add dependency packages
+ yum:
+ name: python34,python34-devel,python34-jinja2,
+ python34-markupsafe, python2-virtualbmc,
+ libguestfs-tools,bsdtar,libvirt,
+ python2-oslo-config,python2-debtcollector,
+ make, python-pip, python-virtualenv
+ - name: Install Virtualization group
+ yum:
+ name: "@Virtualization Host"
+ - name: Install python ipmi from OPNFV artifacts
+ yum:
+ name: 'http://artifacts.opnfv.org/apex/dependencies/python3-ipmi-0.3.0-1.noarch.rpm'
+ - pip:
+ name: tox