Initial support for CentOS 7 host

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-08-30 14:30:25 -04:00
parent c74fbbc250
commit ce1722f21d
3 changed files with 27 additions and 0 deletions

View File

@ -12,6 +12,9 @@
- include: install/debian.yaml
when: ansible_os_family == 'Debian'
- include: install/redhat.yaml
when: ansible_os_family == 'RedHat'
- include: install/git.yaml
when: nodepool_install_method == 'git'

View File

@ -0,0 +1,9 @@
---
- name: Ensure build dependencies are installed.
yum: "pkg={{ item }} state=installed"
with_items: nodepool_build_depends
when: nodepool_install_method == 'git' or nodepool_install_method == 'pip'
- name: Ensure dependencies are installed.
yum: "pkg={{ item }} state=installed"
with_items: nodepool_depends

15
vars/RedHat.yaml Normal file
View File

@ -0,0 +1,15 @@
---
__nodepool_build_depends:
- gcc
- gcc-c++
- libffi-devel
- libxml2-devel
- libxslt-devel
- openssl-devel
- python-devel
- python-pip
- zlib-devel
__nodepool_depends:
- debootstrap
- qemu-img