Limit patch to Debian 9

Project: http://git-wip-us.apache.org/repos/asf/couchdb-ci/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ci/commit/38807eb5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ci/tree/38807eb5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ci/diff/38807eb5

Branch: refs/heads/master
Commit: 38807eb578b528d2a4133f424e40e99f96462d76
Parents: cd9e937
Author: Robert Haist <[email protected]>
Authored: Wed Oct 4 09:33:03 2017 +0200
Committer: Robert Haist <[email protected]>
Committed: Wed Oct 4 09:33:03 2017 +0200

----------------------------------------------------------------------
 ansible/roles/spidermonkey/tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/38807eb5/ansible/roles/spidermonkey/tasks/main.yml
----------------------------------------------------------------------
diff --git a/ansible/roles/spidermonkey/tasks/main.yml 
b/ansible/roles/spidermonkey/tasks/main.yml
index d6d42b0..e26ddfe 100644
--- a/ansible/roles/spidermonkey/tasks/main.yml
+++ b/ansible/roles/spidermonkey/tasks/main.yml
@@ -31,7 +31,7 @@
     src: "{{ role_path }}/files/fix-811665.patch"
     basedir: /opt/js-1.8.5/
     strip: 1
-  when: ansible_distribution == "Debian"
+  when: ansible_distribution == "Debian" and 
ansible_distribution_major_version == "9"
 
 - name: configure Spidermonkey 1.8.5
   command: ./configure --prefix=/usr --with-system-nspr --disable-tests 
--disable-strip --enable-ctypes --enable-threadsafe --disable-methodjit

Reply via email to