From: David Galloway Date: Tue, 10 Oct 2017 13:44:19 +0000 (-0400) Subject: ansible: Set jenkins_group on Zesty and later X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5a122481af6d7e48561a3ad203198154fee634c8;p=ceph-build.git ansible: Set jenkins_group on Zesty and later Signed-off-by: David Galloway --- diff --git a/ansible/examples/slave_libvirt_static.yml b/ansible/examples/slave_libvirt_static.yml index 0b63ce16..2edd2279 100644 --- a/ansible/examples/slave_libvirt_static.yml +++ b/ansible/examples/slave_libvirt_static.yml @@ -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: