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-16/main.yml | 1 +
ansible/tasks/build.yml | 6 ++++--
ansible/vars/libvirt-go-xml/CentOS-7.yml | 3 +++
ansible/vars/libvirt-go-xml/Debian-8.yml | 3 +++
ansible/vars/libvirt-go-xml/Debian-9.yml | 3 +++
ansible/vars/libvirt-go-xml/Fedora-25.yml | 3 +++
ansible/vars/libvirt-go-xml/Fedora-26.yml | 3 +++
ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml | 3 +++
ansible/vars/libvirt-go-xml/FreeBSD-11.yml | 3 +++
ansible/vars/libvirt-go-xml/Ubuntu-16.yml | 3 +++
17 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 ansible/vars/libvirt-go-xml/CentOS-7.yml
create mode 100644 ansible/vars/libvirt-go-xml/Debian-8.yml
create mode 100644 ansible/vars/libvirt-go-xml/Debian-9.yml
create mode 100644 ansible/vars/libvirt-go-xml/Fedora-25.yml
create mode 100644 ansible/vars/libvirt-go-xml/Fedora-26.yml
create mode 100644 ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml
create mode 100644 ansible/vars/libvirt-go-xml/FreeBSD-11.yml
create mode 100644 ansible/vars/libvirt-go-xml/Ubuntu-16.yml
diff --git a/ansible/host_vars/libvirt-centos-7/main.yml
b/ansible/host_vars/libvirt-centos-7/main.yml
index 728b6d5..fcb44ec 100644
--- a/ansible/host_vars/libvirt-centos-7/main.yml
+++ b/ansible/host_vars/libvirt-centos-7/main.yml
@@ -6,3 +6,4 @@ projects:
- libvirt-cim
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-debian-8/main.yml
b/ansible/host_vars/libvirt-debian-8/main.yml
index 6fa3e95..83e787e 100644
--- a/ansible/host_vars/libvirt-debian-8/main.yml
+++ b/ansible/host_vars/libvirt-debian-8/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-debian-9/main.yml
b/ansible/host_vars/libvirt-debian-9/main.yml
index 6fa3e95..83e787e 100644
--- a/ansible/host_vars/libvirt-debian-9/main.yml
+++ b/ansible/host_vars/libvirt-debian-9/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml
b/ansible/host_vars/libvirt-fedora-25/main.yml
index 728b6d5..fcb44ec 100644
--- a/ansible/host_vars/libvirt-fedora-25/main.yml
+++ b/ansible/host_vars/libvirt-fedora-25/main.yml
@@ -6,3 +6,4 @@ projects:
- libvirt-cim
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml
b/ansible/host_vars/libvirt-fedora-26/main.yml
index 728b6d5..fcb44ec 100644
--- a/ansible/host_vars/libvirt-fedora-26/main.yml
+++ b/ansible/host_vars/libvirt-fedora-26/main.yml
@@ -6,3 +6,4 @@ projects:
- libvirt-cim
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
index 728b6d5..fcb44ec 100644
--- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
+++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
@@ -6,3 +6,4 @@ projects:
- libvirt-cim
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml
b/ansible/host_vars/libvirt-freebsd-11/main.yml
index c2b059e..c8baf43 100644
--- a/ansible/host_vars/libvirt-freebsd-11/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-11/main.yml
@@ -12,3 +12,4 @@ projects:
- libvirt
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml
b/ansible/host_vars/libvirt-ubuntu-16/main.yml
index 6fa3e95..83e787e 100644
--- a/ansible/host_vars/libvirt-ubuntu-16/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml
@@ -5,3 +5,4 @@ projects:
- libvirt
- libvirt-glib
- libvirt-go
+ - libvirt-go-xml
diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml
index 4704729..c10c546 100644
--- a/ansible/tasks/build.yml
+++ b/ansible/tasks/build.yml
@@ -96,11 +96,13 @@
args:
chdir: '{{ project }}'
when:
- - project == 'libvirt-go'
+ - ( project == 'libvirt-go' or
+ project == 'libvirt-go-xml' )
- name: '{{ project }}: Run test suite'
command: go test -tags api
args:
chdir: '{{ project }}'
when:
- - project == 'libvirt-go'
+ - ( project == 'libvirt-go' or
+ project == 'libvirt-go-xml' )
diff --git a/ansible/vars/libvirt-go-xml/CentOS-7.yml
b/ansible/vars/libvirt-go-xml/CentOS-7.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/CentOS-7.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
diff --git a/ansible/vars/libvirt-go-xml/Debian-8.yml
b/ansible/vars/libvirt-go-xml/Debian-8.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/Debian-8.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
diff --git a/ansible/vars/libvirt-go-xml/Debian-9.yml
b/ansible/vars/libvirt-go-xml/Debian-9.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/Debian-9.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
diff --git a/ansible/vars/libvirt-go-xml/Fedora-25.yml
b/ansible/vars/libvirt-go-xml/Fedora-25.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/Fedora-25.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
diff --git a/ansible/vars/libvirt-go-xml/Fedora-26.yml
b/ansible/vars/libvirt-go-xml/Fedora-26.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/Fedora-26.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
diff --git a/ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml
b/ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
diff --git a/ansible/vars/libvirt-go-xml/FreeBSD-11.yml
b/ansible/vars/libvirt-go-xml/FreeBSD-11.yml
new file mode 100644
index 0000000..c06b9bb
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/FreeBSD-11.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - go
diff --git a/ansible/vars/libvirt-go-xml/Ubuntu-16.yml
b/ansible/vars/libvirt-go-xml/Ubuntu-16.yml
new file mode 100644
index 0000000..cfac00e
--- /dev/null
+++ b/ansible/vars/libvirt-go-xml/Ubuntu-16.yml
@@ -0,0 +1,3 @@
+---
+packages:
+ - golang
--
2.13.6