Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
ansible/host_vars/libvirt-centos-7/main.yml | 1 +
ansible/host_vars/libvirt-debian-9/main.yml | 1 +
ansible/host_vars/libvirt-fedora-25/main.yml | 1 +
ansible/host_vars/libvirt-fedora-26/main.yml | 1 +
ansible/host_vars/libvirt-fedora-rawhide/main.yml | 1 +
ansible/host_vars/libvirt-freebsd-11/main.yml | 1 +
ansible/tasks/build.yml | 9 ++++++---
ansible/vars/osinfo-db/CentOS-7.yml | 7 +++++++
ansible/vars/osinfo-db/Debian-9.yml | 7 +++++++
ansible/vars/osinfo-db/Fedora-25.yml | 7 +++++++
ansible/vars/osinfo-db/Fedora-26.yml | 7 +++++++
ansible/vars/osinfo-db/Fedora-Rawhide.yml | 7 +++++++
ansible/vars/osinfo-db/FreeBSD-11.yml | 7 +++++++
13 files changed, 54 insertions(+), 3 deletions(-)
create mode 100644 ansible/vars/osinfo-db/CentOS-7.yml
create mode 100644 ansible/vars/osinfo-db/Debian-9.yml
create mode 100644 ansible/vars/osinfo-db/Fedora-25.yml
create mode 100644 ansible/vars/osinfo-db/Fedora-26.yml
create mode 100644 ansible/vars/osinfo-db/Fedora-Rawhide.yml
create mode 100644 ansible/vars/osinfo-db/FreeBSD-11.yml
diff --git a/ansible/host_vars/libvirt-centos-7/main.yml
b/ansible/host_vars/libvirt-centos-7/main.yml
index 39707f6..bfe7649 100644
--- a/ansible/host_vars/libvirt-centos-7/main.yml
+++ b/ansible/host_vars/libvirt-centos-7/main.yml
@@ -10,3 +10,4 @@ projects:
- libvirt-perl
- libvirt-python
- libvirt-sandbox
+ - osinfo-db
diff --git a/ansible/host_vars/libvirt-debian-9/main.yml
b/ansible/host_vars/libvirt-debian-9/main.yml
index eb79aeb..08e35d3 100644
--- a/ansible/host_vars/libvirt-debian-9/main.yml
+++ b/ansible/host_vars/libvirt-debian-9/main.yml
@@ -10,3 +10,4 @@ projects:
- libvirt-python
- libvirt-sandbox
- libvirt-tck
+ - osinfo-db
diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml
b/ansible/host_vars/libvirt-fedora-25/main.yml
index 7a42e2b..88de6e5 100644
--- a/ansible/host_vars/libvirt-fedora-25/main.yml
+++ b/ansible/host_vars/libvirt-fedora-25/main.yml
@@ -11,3 +11,4 @@ projects:
- libvirt-python
- libvirt-sandbox
- libvirt-tck
+ - osinfo-db
diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml
b/ansible/host_vars/libvirt-fedora-26/main.yml
index 7a42e2b..88de6e5 100644
--- a/ansible/host_vars/libvirt-fedora-26/main.yml
+++ b/ansible/host_vars/libvirt-fedora-26/main.yml
@@ -11,3 +11,4 @@ projects:
- libvirt-python
- libvirt-sandbox
- libvirt-tck
+ - osinfo-db
diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
index 7a42e2b..88de6e5 100644
--- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
+++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
@@ -11,3 +11,4 @@ projects:
- libvirt-python
- libvirt-sandbox
- libvirt-tck
+ - osinfo-db
diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml
b/ansible/host_vars/libvirt-freebsd-11/main.yml
index 868a0db..dd5302d 100644
--- a/ansible/host_vars/libvirt-freebsd-11/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-11/main.yml
@@ -16,3 +16,4 @@ projects:
- libvirt-perl
- libvirt-python
- libvirt-tck
+ - osinfo-db
diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml
index eb29531..48e8a98 100644
--- a/ansible/tasks/build.yml
+++ b/ansible/tasks/build.yml
@@ -59,7 +59,8 @@
project == 'libvirt' or
project == 'libvirt-cim' or
project == 'libvirt-glib' or
- project == 'libvirt-sandbox' )
+ project == 'libvirt-sandbox' or
+ project == 'osinfo-db' )
- name: '{{ project }}: Run sanity checks'
command: '{{ make }} -j{{ smp }} syntax-check'
@@ -81,7 +82,8 @@
os_name != 'FreeBSD' ) or
project == 'libvirt-cim' or
project == 'libvirt-glib' or
- project == 'libvirt-sandbox' )
+ project == 'libvirt-sandbox' or
+ project == 'osinfo-db' )
- name: '{{ project }}: Build RPM package'
command: '{{ make }} -j{{ smp }} rpm'
@@ -91,7 +93,8 @@
- ( os_name == 'CentOS' or
os_name == 'Fedora' )
- ( project == 'libvirt' or
- project == 'libvirt-cim' )
+ project == 'libvirt-cim' or
+ project == 'osinfo-db' )
# Go build
diff --git a/ansible/vars/osinfo-db/CentOS-7.yml b/ansible/vars/osinfo-db/CentOS-7.yml
new file mode 100644
index 0000000..c41d877
--- /dev/null
+++ b/ansible/vars/osinfo-db/CentOS-7.yml
@@ -0,0 +1,7 @@
+---
+packages:
+ - intltool
+ - libxml2
+
+extra_packages:
+ - osinfo-db-tools
diff --git a/ansible/vars/osinfo-db/Debian-9.yml b/ansible/vars/osinfo-db/Debian-9.yml
new file mode 100644
index 0000000..c21dc6e
--- /dev/null
+++ b/ansible/vars/osinfo-db/Debian-9.yml
@@ -0,0 +1,7 @@
+---
+packages:
+ - intltool
+ - libxml2-utils
+
+extra_packages:
+ - osinfo-db-tools
diff --git a/ansible/vars/osinfo-db/Fedora-25.yml b/ansible/vars/osinfo-db/Fedora-25.yml
new file mode 100644
index 0000000..c41d877
--- /dev/null
+++ b/ansible/vars/osinfo-db/Fedora-25.yml
@@ -0,0 +1,7 @@
+---
+packages:
+ - intltool
+ - libxml2
+
+extra_packages:
+ - osinfo-db-tools
diff --git a/ansible/vars/osinfo-db/Fedora-26.yml b/ansible/vars/osinfo-db/Fedora-26.yml
new file mode 100644
index 0000000..c41d877
--- /dev/null
+++ b/ansible/vars/osinfo-db/Fedora-26.yml
@@ -0,0 +1,7 @@
+---
+packages:
+ - intltool
+ - libxml2
+
+extra_packages:
+ - osinfo-db-tools
diff --git a/ansible/vars/osinfo-db/Fedora-Rawhide.yml
b/ansible/vars/osinfo-db/Fedora-Rawhide.yml
new file mode 100644
index 0000000..c41d877
--- /dev/null
+++ b/ansible/vars/osinfo-db/Fedora-Rawhide.yml
@@ -0,0 +1,7 @@
+---
+packages:
+ - intltool
+ - libxml2
+
+extra_packages:
+ - osinfo-db-tools
diff --git a/ansible/vars/osinfo-db/FreeBSD-11.yml
b/ansible/vars/osinfo-db/FreeBSD-11.yml
new file mode 100644
index 0000000..c41d877
--- /dev/null
+++ b/ansible/vars/osinfo-db/FreeBSD-11.yml
@@ -0,0 +1,7 @@
+---
+packages:
+ - intltool
+ - libxml2
+
+extra_packages:
+ - osinfo-db-tools
--
2.13.6