Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
ansible/host_vars/libvirt-centos-7/main.yml | 1 +
ansible/host_vars/libvirt-debian-8/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/host_vars/libvirt-ubuntu-14/main.yml | 1 +
ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 +
ansible/tasks/build.yml | 12 ++++++++----
ansible/vars/osinfo-db-tools/CentOS-7.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Debian-8.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Debian-9.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Fedora-25.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Fedora-26.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/FreeBSD-11.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Ubuntu-14.yml | 8 ++++++++
ansible/vars/osinfo-db-tools/Ubuntu-16.yml | 8 ++++++++
19 files changed, 89 insertions(+), 4 deletions(-)
create mode 100644 ansible/vars/osinfo-db-tools/CentOS-7.yml
create mode 100644 ansible/vars/osinfo-db-tools/Debian-8.yml
create mode 100644 ansible/vars/osinfo-db-tools/Debian-9.yml
create mode 100644 ansible/vars/osinfo-db-tools/Fedora-25.yml
create mode 100644 ansible/vars/osinfo-db-tools/Fedora-26.yml
create mode 100644 ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml
create mode 100644 ansible/vars/osinfo-db-tools/FreeBSD-11.yml
create mode 100644 ansible/vars/osinfo-db-tools/Ubuntu-14.yml
create mode 100644 ansible/vars/osinfo-db-tools/Ubuntu-16.yml
diff --git a/ansible/host_vars/libvirt-centos-7/main.yml
b/ansible/host_vars/libvirt-centos-7/main.yml
index bfe7649..eaaa1cd 100644
--- a/ansible/host_vars/libvirt-centos-7/main.yml
+++ b/ansible/host_vars/libvirt-centos-7/main.yml
@@ -11,3 +11,4 @@ projects:
- libvirt-python
- libvirt-sandbox
- osinfo-db
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-debian-8/main.yml
b/ansible/host_vars/libvirt-debian-8/main.yml
index a9e2160..4199dfd 100644
--- a/ansible/host_vars/libvirt-debian-8/main.yml
+++ b/ansible/host_vars/libvirt-debian-8/main.yml
@@ -9,3 +9,4 @@ projects:
- libvirt-perl
- libvirt-python
- libvirt-tck
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-debian-9/main.yml
b/ansible/host_vars/libvirt-debian-9/main.yml
index 08e35d3..82b7cb8 100644
--- a/ansible/host_vars/libvirt-debian-9/main.yml
+++ b/ansible/host_vars/libvirt-debian-9/main.yml
@@ -11,3 +11,4 @@ projects:
- libvirt-sandbox
- libvirt-tck
- osinfo-db
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml
b/ansible/host_vars/libvirt-fedora-25/main.yml
index 88de6e5..9a42421 100644
--- a/ansible/host_vars/libvirt-fedora-25/main.yml
+++ b/ansible/host_vars/libvirt-fedora-25/main.yml
@@ -12,3 +12,4 @@ projects:
- libvirt-sandbox
- libvirt-tck
- osinfo-db
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml
b/ansible/host_vars/libvirt-fedora-26/main.yml
index 88de6e5..9a42421 100644
--- a/ansible/host_vars/libvirt-fedora-26/main.yml
+++ b/ansible/host_vars/libvirt-fedora-26/main.yml
@@ -12,3 +12,4 @@ projects:
- libvirt-sandbox
- libvirt-tck
- osinfo-db
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
index 88de6e5..9a42421 100644
--- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
+++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
@@ -12,3 +12,4 @@ projects:
- libvirt-sandbox
- libvirt-tck
- osinfo-db
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml
b/ansible/host_vars/libvirt-freebsd-11/main.yml
index dd5302d..93eaca7 100644
--- a/ansible/host_vars/libvirt-freebsd-11/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-11/main.yml
@@ -17,3 +17,4 @@ projects:
- libvirt-python
- libvirt-tck
- osinfo-db
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml
b/ansible/host_vars/libvirt-ubuntu-14/main.yml
index 809c9fd..7711c5c 100644
--- a/ansible/host_vars/libvirt-ubuntu-14/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml
@@ -6,3 +6,4 @@ projects:
- libvirt-perl
- libvirt-python
- libvirt-tck
+ - osinfo-db-tools
diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml
b/ansible/host_vars/libvirt-ubuntu-16/main.yml
index eb79aeb..fb05515 100644
--- a/ansible/host_vars/libvirt-ubuntu-16/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml
@@ -10,3 +10,4 @@ projects:
- libvirt-python
- libvirt-sandbox
- libvirt-tck
+ - osinfo-db-tools
diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml
index 48e8a98..8622713 100644
--- a/ansible/tasks/build.yml
+++ b/ansible/tasks/build.yml
@@ -41,7 +41,8 @@
project == 'libvirt' or
project == 'libvirt-cim' or
project == 'libvirt-glib' or
- project == 'libvirt-sandbox' )
+ project == 'libvirt-sandbox' or
+ project == 'osinfo-db-tools' )
- name: '{{ project }}: Run configure'
command: './configure {{ configure_options }}'
@@ -60,7 +61,8 @@
project == 'libvirt-cim' or
project == 'libvirt-glib' or
project == 'libvirt-sandbox' or
- project == 'osinfo-db' )
+ project == 'osinfo-db' or
+ project == 'osinfo-db-tools' )
- name: '{{ project }}: Run sanity checks'
command: '{{ make }} -j{{ smp }} syntax-check'
@@ -71,7 +73,8 @@
( project == 'libvirt' and
os_name != 'FreeBSD' ) or
project == 'libvirt-glib' or
- project == 'libvirt-sandbox' )
+ project == 'libvirt-sandbox' or
+ project == 'osinfo-db-tools' )
- name: '{{ project }}: Run test suite'
command: '{{ make }} -j{{ smp }} check'
@@ -83,7 +86,8 @@
project == 'libvirt-cim' or
project == 'libvirt-glib' or
project == 'libvirt-sandbox' or
- project == 'osinfo-db' )
+ project == 'osinfo-db' or
+ project == 'osinfo-db-tools' )
- name: '{{ project }}: Build RPM package'
command: '{{ make }} -j{{ smp }} rpm'
diff --git a/ansible/vars/osinfo-db-tools/CentOS-7.yml
b/ansible/vars/osinfo-db-tools/CentOS-7.yml
new file mode 100644
index 0000000..ce38721
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/CentOS-7.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - glib2-devel
+ - gnome-common
+ - intltool
+ - libarchive-devel
+ - libxml2-devel
+ - libxslt-devel
diff --git a/ansible/vars/osinfo-db-tools/Debian-8.yml
b/ansible/vars/osinfo-db-tools/Debian-8.yml
new file mode 100644
index 0000000..dcc6634
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Debian-8.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - gnome-common
+ - intltool
+ - libarchive-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - libxslt1-dev
diff --git a/ansible/vars/osinfo-db-tools/Debian-9.yml
b/ansible/vars/osinfo-db-tools/Debian-9.yml
new file mode 100644
index 0000000..dcc6634
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Debian-9.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - gnome-common
+ - intltool
+ - libarchive-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - libxslt1-dev
diff --git a/ansible/vars/osinfo-db-tools/Fedora-25.yml
b/ansible/vars/osinfo-db-tools/Fedora-25.yml
new file mode 100644
index 0000000..ce38721
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Fedora-25.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - glib2-devel
+ - gnome-common
+ - intltool
+ - libarchive-devel
+ - libxml2-devel
+ - libxslt-devel
diff --git a/ansible/vars/osinfo-db-tools/Fedora-26.yml
b/ansible/vars/osinfo-db-tools/Fedora-26.yml
new file mode 100644
index 0000000..ce38721
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Fedora-26.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - glib2-devel
+ - gnome-common
+ - intltool
+ - libarchive-devel
+ - libxml2-devel
+ - libxslt-devel
diff --git a/ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml
b/ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml
new file mode 100644
index 0000000..ce38721
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - glib2-devel
+ - gnome-common
+ - intltool
+ - libarchive-devel
+ - libxml2-devel
+ - libxslt-devel
diff --git a/ansible/vars/osinfo-db-tools/FreeBSD-11.yml
b/ansible/vars/osinfo-db-tools/FreeBSD-11.yml
new file mode 100644
index 0000000..7a804c9
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/FreeBSD-11.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - glib
+ - gnome-common
+ - intltool
+ - libarchive
+ - libxml2
+ - libxslt
diff --git a/ansible/vars/osinfo-db-tools/Ubuntu-14.yml
b/ansible/vars/osinfo-db-tools/Ubuntu-14.yml
new file mode 100644
index 0000000..dcc6634
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Ubuntu-14.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - gnome-common
+ - intltool
+ - libarchive-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - libxslt1-dev
diff --git a/ansible/vars/osinfo-db-tools/Ubuntu-16.yml
b/ansible/vars/osinfo-db-tools/Ubuntu-16.yml
new file mode 100644
index 0000000..dcc6634
--- /dev/null
+++ b/ansible/vars/osinfo-db-tools/Ubuntu-16.yml
@@ -0,0 +1,8 @@
+---
+packages:
+ - gnome-common
+ - intltool
+ - libarchive-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - libxslt1-dev
--
2.13.6