Merge pull request #23 from jovial/virtualbmc-debian

Support Debian based GNU/Linux distributions
This commit is contained in:
jovial 2018-10-03 17:40:04 +01:00 committed by GitHub
commit 1fae6d26dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 5 deletions

View File

@ -1,9 +1,4 @@
---
# List of package dependencies to install.
# TODO: Make platform-independent.
vbmcd_packages:
- gcc
- libvirt-devel
# The path to the virtualenv in which to install Virtual BMC.
vbmcd_virtualenv_path:
# The URL of the upper constraints file to pass to pip when installing Python

View File

@ -1,4 +1,14 @@
---
- name: Gather os specific variables
include_vars: "{{ item }}"
with_first_found:
- files:
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version}}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
skip: true
tags: vars
- name: Ensure package dependencies are installed
package:
name: "{{ item }}"

View File

@ -0,0 +1,5 @@
---
# List of package dependencies to install.
vbmcd_packages:
- gcc
- libvirt-dev

View File

@ -0,0 +1,5 @@
---
# List of package dependencies to install.
vbmcd_packages:
- gcc
- libvirt-devel