]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
teuthology: make zypper vars leap version specific 453/head
authorKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Tue, 19 Mar 2019 19:46:41 +0000 (20:46 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Tue, 19 Mar 2019 19:51:18 +0000 (20:51 +0100)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
roles/teuthology/tasks/zypper_systems.yml
roles/teuthology/vars/zypper_opensuse_leap_15.0.yml [new file with mode: 0644]
roles/teuthology/vars/zypper_opensuse_leap_15.1.yml [new file with mode: 0644]
roles/teuthology/vars/zypper_opensuse_leap_42.3.yml [new file with mode: 0644]
roles/teuthology/vars/zypper_systems.yml [deleted file]

index b71cccf98d7f3ef17115eb29e73caa36a0071f6f..af641bae67d002e2d15b2c337508409f5f892f47 100644 (file)
@@ -1,6 +1,6 @@
 ---
 - name: Include package type specific vars.
-  include_vars: "zypper_systems.yml"
+  include_vars: "zypper_{{ ansible_distribution | lower | replace(' ', '_') }}_{{ ansible_distribution_version }}.yml"
   tags:
     - always
 
diff --git a/roles/teuthology/vars/zypper_opensuse_leap_15.0.yml b/roles/teuthology/vars/zypper_opensuse_leap_15.0.yml
new file mode 100644 (file)
index 0000000..793d54e
--- /dev/null
@@ -0,0 +1,22 @@
+---
+teuthology_extra_packages:
+  - beanstalkd
+  - git
+  - gcc
+  - libev-devel
+  - libffi-devel
+  - libmysqlclient-devel
+  - libopenssl-devel
+  - libvirt-devel
+  - libvirt-python
+  - libyaml-devel
+  - lsb-release
+  - nginx
+  - python-devel
+  - python-pip
+  - python-virtualenv
+  - qemu-tools
+
+#apache_service: apache2
+nginx_available: "/etc/nginx"
+nginx_enabled: "/etc/nginx/vhosts.d"
diff --git a/roles/teuthology/vars/zypper_opensuse_leap_15.1.yml b/roles/teuthology/vars/zypper_opensuse_leap_15.1.yml
new file mode 100644 (file)
index 0000000..793d54e
--- /dev/null
@@ -0,0 +1,22 @@
+---
+teuthology_extra_packages:
+  - beanstalkd
+  - git
+  - gcc
+  - libev-devel
+  - libffi-devel
+  - libmysqlclient-devel
+  - libopenssl-devel
+  - libvirt-devel
+  - libvirt-python
+  - libyaml-devel
+  - lsb-release
+  - nginx
+  - python-devel
+  - python-pip
+  - python-virtualenv
+  - qemu-tools
+
+#apache_service: apache2
+nginx_available: "/etc/nginx"
+nginx_enabled: "/etc/nginx/vhosts.d"
diff --git a/roles/teuthology/vars/zypper_opensuse_leap_42.3.yml b/roles/teuthology/vars/zypper_opensuse_leap_42.3.yml
new file mode 100644 (file)
index 0000000..280a260
--- /dev/null
@@ -0,0 +1,22 @@
+---
+teuthology_extra_packages:
+  - beanstalkd
+  - git
+  - gcc
+  - libev-devel
+  - libffi48-devel
+  - libmysqlclient-devel
+  - libopenssl-devel
+  - libvirt-devel
+  - libvirt-python
+  - libyaml-devel
+  - lsb-release
+  - nginx
+  - python-devel
+  - python-pip
+  - python-virtualenv
+  - qemu-tools
+
+#apache_service: apache2
+nginx_available: "/etc/nginx"
+nginx_enabled: "/etc/nginx/vhosts.d"
diff --git a/roles/teuthology/vars/zypper_systems.yml b/roles/teuthology/vars/zypper_systems.yml
deleted file mode 100644 (file)
index 280a260..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
----
-teuthology_extra_packages:
-  - beanstalkd
-  - git
-  - gcc
-  - libev-devel
-  - libffi48-devel
-  - libmysqlclient-devel
-  - libopenssl-devel
-  - libvirt-devel
-  - libvirt-python
-  - libyaml-devel
-  - lsb-release
-  - nginx
-  - python-devel
-  - python-pip
-  - python-virtualenv
-  - qemu-tools
-
-#apache_service: apache2
-nginx_available: "/etc/nginx"
-nginx_enabled: "/etc/nginx/vhosts.d"