]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: Set jenkins_group on Zesty and later 883/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 10 Oct 2017 13:44:19 +0000 (09:44 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 10 Oct 2017 13:45:02 +0000 (09:45 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/examples/slave_libvirt_static.yml

index 0b63ce16a338e6f4520f127a6c684ef5b028277e..2edd2279a4d9d0504ad8c426e9d5d7677016a9ae 100644 (file)
@@ -81,7 +81,8 @@
 
     - set_fact:
         jenkins_group: 'libvirt'
-      when: ansible_distribution_version == '16.10'
+      when: (ansible_distribution_version == '16.10') or
+            (ansible_distribution_major_version >= 17)
 
     - name: "create a {{ jenkins_user }} user"
       user: