Bogdan Dobrelya 467d84c620 Add centos7 docker support
* Separate OSTYPE specific tasks/files.
* Keep only common tasks and files in the
playbooks dir.

TODO pxe case to be working for centos as well
note, the cmtools.sh installs ansible 2.0.1.0
  in centos7, while we have 2.0.0.2 for ubuntu trusty
note, the base.yaml installs python-keystoneclient
  1:1.3.0-1.el7 from kilo-2 (no juno for centos7),
  while for ubuntu we have one from juno
note, there is no pygraphviz for centos7, see also
  https://bugs.launchpad.net/fuel/+bug/1510884

Closes-bug: #1548851

Change-Id: Icec5637f9242104322d1104725f9f132d1ca16f0
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-02 11:16:23 +01:00

58 lines
1.1 KiB
YAML

---
- name: Base packages
yum: name={{ item }} state=present
with_items:
- git
- subversion
- python-keystoneclient
- MySQL-python
- python-setuptools
- ruby-devel
- unzip
# Graph drawing
#- python-pygraphviz
# Other tools
- htop
- jq
- tmux
#- vim-nox
- mc
# Dev
- python-ipython-console
- python-devel
- python-virtualenv
# for torrent transport
- rb_libtorrent-python
# for riak python package
- libffi-devel
- openssl-devel
# computable inputs lua
- luajit-devel
# for tests on jenkins
- sshpass
# for pg backend
- python-psycopg2
- name: Uninstall packages
yum: name={{ item }} state=absent
with_items:
- python-pbr
# PIP
- pip: name={{item}} state=present
with_items:
- httpie
- docker-py==1.1.0
- ujson
- tox
- riak
- pbr
# pre install solare requirements
- shell: pip install pudb
- shell: pip install -r https://raw.githubusercontent.com/openstack/solar/master/requirements.txt
- shell: pip install -r https://raw.githubusercontent.com/Mirantis/solar-agent/master/requirements.txt