]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
do not use lsb 298/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 15 Jan 2016 16:43:16 +0000 (11:43 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 18 Jan 2016 15:53:20 +0000 (09:53 -0600)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/slave.yml.j2

index 8362f3d87e5269ff5cfdafe00a130a6a7acd6897..5edebe8c6f26ab8a5ba08e397aeeb2f9990750a5 100644 (file)
       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