According to our platform support policy[1], we support an
Ubuntu LTS release for two years after the *following* LTS
has been released, which means that Ubuntu 16.04 is going to
be an official target for almost one more year.
This reverts commit c6c648534dd1.
[1]
https://libvirt.org/platforms.html
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/host_vars/libvirt-ubuntu-16/docker.yml | 2 ++
.../host_vars/libvirt-ubuntu-16/install.yml | 2 ++
guests/host_vars/libvirt-ubuntu-16/main.yml | 22 +++++++++++++++++++
guests/inventory | 1 +
guests/vars/mappings.yml | 3 +++
5 files changed, 30 insertions(+)
create mode 100644 guests/host_vars/libvirt-ubuntu-16/docker.yml
create mode 100644 guests/host_vars/libvirt-ubuntu-16/install.yml
create mode 100644 guests/host_vars/libvirt-ubuntu-16/main.yml
diff --git a/guests/host_vars/libvirt-ubuntu-16/docker.yml
b/guests/host_vars/libvirt-ubuntu-16/docker.yml
new file mode 100644
index 0000000..2d4eb25
--- /dev/null
+++ b/guests/host_vars/libvirt-ubuntu-16/docker.yml
@@ -0,0 +1,2 @@
+---
+docker_base: ubuntu:16.04
diff --git a/guests/host_vars/libvirt-ubuntu-16/install.yml
b/guests/host_vars/libvirt-ubuntu-16/install.yml
new file mode 100644
index 0000000..d8ce841
--- /dev/null
+++ b/guests/host_vars/libvirt-ubuntu-16/install.yml
@@ -0,0 +1,2 @@
+---
+install_url:
http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/
diff --git a/guests/host_vars/libvirt-ubuntu-16/main.yml
b/guests/host_vars/libvirt-ubuntu-16/main.yml
new file mode 100644
index 0000000..0e38128
--- /dev/null
+++ b/guests/host_vars/libvirt-ubuntu-16/main.yml
@@ -0,0 +1,22 @@
+---
+projects:
+ - libosinfo
+ - libvirt
+ - libvirt-dbus
+ - libvirt-glib
+ - libvirt-go
+ - libvirt-go-xml
+ - libvirt-ocaml
+ - libvirt-perl
+ - libvirt-python
+ - libvirt-sandbox
+ - libvirt-tck
+ - osinfo-db
+ - osinfo-db-tools
+ - virt-viewer
+
+package_format: 'deb'
+os_name: 'Ubuntu'
+os_version: '16'
+
+ansible_python_interpreter: /usr/bin/python3
diff --git a/guests/inventory b/guests/inventory
index 5b01d58..48abe95 100644
--- a/guests/inventory
+++ b/guests/inventory
@@ -8,4 +8,5 @@ libvirt-fedora-rawhide
libvirt-freebsd-11
libvirt-freebsd-12
libvirt-freebsd-current
+libvirt-ubuntu-16
libvirt-ubuntu-18
diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index c821a89..4a231c3 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -196,6 +196,7 @@ mappings:
deb: libglusterfs-dev
rpm: glusterfs-api-devel
Debian9: glusterfs-common
+ Ubuntu16: glusterfs-common
Ubuntu18: glusterfs-common
cross-policy-deb: foreign
@@ -227,6 +228,7 @@ mappings:
gtk-update-icon-cache:
default: gtk-update-icon-cache
+ Ubuntu16: libgtk2.0-bin
gtk-vnc2:
deb: libgtk-vnc-2.0-dev
@@ -815,6 +817,7 @@ mappings:
default: python3-libxml2
FreeBSD: py36-libxml2
CentOS7:
+ Ubuntu16:
python3-lxml:
default: python3-lxml
--
2.21.0