[libvirt-jenkins-ci PATCH v2 09/16] ansible: Add libvirt-python project

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 ansible/host_vars/libvirt-centos-6/main.yml       |  1 +
 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-14/main.yml      |  1 +
 ansible/host_vars/libvirt-ubuntu-16/main.yml      |  1 +
 ansible/vars/mappings.yml                         | 30 +++++++++++++++++++++++
 ansible/vars/projects/libvirt-python.yml          |  8 ++++++
 13 files changed, 49 insertions(+)
 create mode 100644 ansible/vars/projects/libvirt-python.yml

diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_vars/libvirt-centos-6/main.yml
index 61c8376..e959ecc 100644
--- a/ansible/host_vars/libvirt-centos-6/main.yml
+++ b/ansible/host_vars/libvirt-centos-6/main.yml
@@ -4,3 +4,4 @@ projects:
   - libvirt
   - libvirt-cim
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_vars/libvirt-centos-7/main.yml
index 80b95f5..e4489ac 100644
--- a/ansible/host_vars/libvirt-centos-7/main.yml
+++ b/ansible/host_vars/libvirt-centos-7/main.yml
@@ -8,3 +8,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_vars/libvirt-debian-8/main.yml
index 1c2ecb5..2525b10 100644
--- a/ansible/host_vars/libvirt-debian-8/main.yml
+++ b/ansible/host_vars/libvirt-debian-8/main.yml
@@ -7,3 +7,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_vars/libvirt-debian-9/main.yml
index 1c2ecb5..2525b10 100644
--- a/ansible/host_vars/libvirt-debian-9/main.yml
+++ b/ansible/host_vars/libvirt-debian-9/main.yml
@@ -7,3 +7,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_vars/libvirt-fedora-25/main.yml
index 80b95f5..e4489ac 100644
--- a/ansible/host_vars/libvirt-fedora-25/main.yml
+++ b/ansible/host_vars/libvirt-fedora-25/main.yml
@@ -8,3 +8,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_vars/libvirt-fedora-26/main.yml
index 80b95f5..e4489ac 100644
--- a/ansible/host_vars/libvirt-fedora-26/main.yml
+++ b/ansible/host_vars/libvirt-fedora-26/main.yml
@@ -8,3 +8,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
index 80b95f5..e4489ac 100644
--- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
+++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
@@ -8,3 +8,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-freebsd-10/main.yml b/ansible/host_vars/libvirt-freebsd-10/main.yml
index 68dbbb2..cd3a373 100644
--- a/ansible/host_vars/libvirt-freebsd-10/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-10/main.yml
@@ -14,3 +14,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_vars/libvirt-freebsd-11/main.yml
index 68dbbb2..cd3a373 100644
--- a/ansible/host_vars/libvirt-freebsd-11/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-11/main.yml
@@ -14,3 +14,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_vars/libvirt-ubuntu-14/main.yml
index 49ee186..ab712b2 100644
--- a/ansible/host_vars/libvirt-ubuntu-14/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml
@@ -4,3 +4,4 @@ projects:
   - libosinfo
   - libvirt
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_vars/libvirt-ubuntu-16/main.yml
index 1c2ecb5..2525b10 100644
--- a/ansible/host_vars/libvirt-ubuntu-16/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml
@@ -7,3 +7,4 @@ projects:
   - libvirt-go
   - libvirt-go-xml
   - libvirt-perl
+  - libvirt-python
diff --git a/ansible/vars/mappings.yml b/ansible/vars/mappings.yml
index 736251b..30176f1 100644
--- a/ansible/vars/mappings.yml
+++ b/ansible/vars/mappings.yml
@@ -423,6 +423,36 @@ mappings:
     pkg: polkit
     rpm: polkit-devel
 
+  python2-devel:
+    deb: python-dev
+    pkg: python27
+    rpm: python2-devel
+
+  python2-lxml:
+    default: python-lxml
+    Fedora: python2-lxml
+    FreeBSD: py27-lxml
+
+  python2-nose:
+    default: python-nose
+    Fedora: python2-nose
+    FreeBSD: py27-nose
+
+  python3-devel:
+    deb: python3-dev
+    pkg: python36
+    Fedora: python3-devel
+
+  python3-lxml:
+    default: python3-lxml
+    FreeBSD: py36-lxml
+    CentOS:
+
+  python3-nose:
+    default: python3-nose
+    FreeBSD: py36-nose
+    CentOS:
+
   qemu-img:
     default: qemu-utils
     rpm: qemu-img
diff --git a/ansible/vars/projects/libvirt-python.yml b/ansible/vars/projects/libvirt-python.yml
new file mode 100644
index 0000000..72dcb4a
--- /dev/null
+++ b/ansible/vars/projects/libvirt-python.yml
@@ -0,0 +1,8 @@
+---
+packages:
+  - python2-devel
+  - python2-lxml
+  - python2-nose
+  - python3-devel
+  - python3-lxml
+  - python3-nose
-- 
2.13.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux