From: Alfredo Deza Date: Fri, 15 Jan 2016 16:43:16 +0000 (-0500) Subject: do not use lsb X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F298%2Fhead;p=ceph-build.git do not use lsb Signed-off-by: Alfredo Deza --- diff --git a/ansible/slave.yml.j2 b/ansible/slave.yml.j2 index 8362f3d8..5edebe8c 100644 --- a/ansible/slave.yml.j2 +++ b/ansible/slave.yml.j2 @@ -109,7 +109,7 @@ lineinfile: dest: "/home/{{ jenkins_user }}/.rpmmacros" regexp: '^%dist' - line: '%dist .el{{ ansible_lsb.major_release }}' + line: '%dist .el{{ ansible_distribution_major_version }}' when: ansible_pkg_mgr == "yum" - name: install six, latest one