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-10/main.yml | 1 +
ansible/host_vars/libvirt-freebsd-11/main.yml | 1 +
ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 +
ansible/vars/mappings.yml | 7 +++++++
ansible/vars/projects/libvirt-go.yml | 3 +++
11 files changed, 19 insertions(+)
create mode 100644 ansible/vars/projects/libvirt-go.yml
diff --git a/ansible/host_vars/libvirt-centos-7/main.yml
b/ansible/host_vars/libvirt-centos-7/main.yml
index 87b39f3..728b6d5 100644
--- a/ansible/host_vars/libvirt-centos-7/main.yml
+++ b/ansible/host_vars/libvirt-centos-7/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-cim
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-debian-8/main.yml
b/ansible/host_vars/libvirt-debian-8/main.yml
index 06aed9d..6fa3e95 100644
--- a/ansible/host_vars/libvirt-debian-8/main.yml
+++ b/ansible/host_vars/libvirt-debian-8/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-debian-9/main.yml
b/ansible/host_vars/libvirt-debian-9/main.yml
index 06aed9d..6fa3e95 100644
--- a/ansible/host_vars/libvirt-debian-9/main.yml
+++ b/ansible/host_vars/libvirt-debian-9/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml
b/ansible/host_vars/libvirt-fedora-25/main.yml
index 87b39f3..728b6d5 100644
--- a/ansible/host_vars/libvirt-fedora-25/main.yml
+++ b/ansible/host_vars/libvirt-fedora-25/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-cim
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml
b/ansible/host_vars/libvirt-fedora-26/main.yml
index 87b39f3..728b6d5 100644
--- a/ansible/host_vars/libvirt-fedora-26/main.yml
+++ b/ansible/host_vars/libvirt-fedora-26/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-cim
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
index 87b39f3..728b6d5 100644
--- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
+++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-cim
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-freebsd-10/main.yml
b/ansible/host_vars/libvirt-freebsd-10/main.yml
index 1acdd66..c2b059e 100644
--- a/ansible/host_vars/libvirt-freebsd-10/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-10/main.yml
@@ -11,3 +11,4 @@ projects:
- libosinfo
- libvirt
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml
b/ansible/host_vars/libvirt-freebsd-11/main.yml
index 1acdd66..c2b059e 100644
--- a/ansible/host_vars/libvirt-freebsd-11/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-11/main.yml
@@ -11,3 +11,4 @@ projects:
- libosinfo
- libvirt
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml
b/ansible/host_vars/libvirt-ubuntu-16/main.yml
index 06aed9d..6fa3e95 100644
--- a/ansible/host_vars/libvirt-ubuntu-16/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-glib
+ - libvirt-go
diff --git a/ansible/vars/mappings.yml b/ansible/vars/mappings.yml
index 4d4be6e..a08e8aa 100644
--- a/ansible/vars/mappings.yml
+++ b/ansible/vars/mappings.yml
@@ -122,6 +122,13 @@ mappings:
Ubuntu12: libgnutls-dev
Ubuntu14: libgnutls-dev
+ go:
+ default: golang
+ FreeBSD: go
+ CentOS6:
+ Ubuntu12:
+ Ubuntu14:
+
gobject-introspection:
deb: libgirepository1.0-dev
pkg: gobject-introspection
diff --git a/ansible/vars/projects/libvirt-go.yml b/ansible/vars/projects/libvirt-go.yml
new file mode 100644
index 0000000..c06b9bb
--- /dev/null
+++ b/ansible/vars/projects/libvirt-go.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - go
--
2.13.6