Merge pull request #23 from jovial/virtualbmc-debian
Support Debian based GNU/Linux distributions
This commit is contained in:
commit
1fae6d26dc
@ -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
|
||||
|
@ -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 }}"
|
||||
|
5
ansible/roles/virtualbmc-daemon/vars/Debian.yml
Normal file
5
ansible/roles/virtualbmc-daemon/vars/Debian.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
# List of package dependencies to install.
|
||||
vbmcd_packages:
|
||||
- gcc
|
||||
- libvirt-dev
|
5
ansible/roles/virtualbmc-daemon/vars/RedHat.yml
Normal file
5
ansible/roles/virtualbmc-daemon/vars/RedHat.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
# List of package dependencies to install.
|
||||
vbmcd_packages:
|
||||
- gcc
|
||||
- libvirt-devel
|
Loading…
x
Reference in New Issue
Block a user