There are some packages not in f22 so f22 slave install fails. Move to a f23+ variable.

This commit is contained in:
Kevin Fenzi 2016-05-18 17:00:47 +00:00
parent c9f3bcb83d
commit 03dd724e01
2 changed files with 13 additions and 1 deletions

View file

@ -147,7 +147,6 @@ slave_packages_fedora:
- freeipa-python
- httpd
- mod_auth_mellon
- mod_auth_openidc
- postgresql-server
- openssl
- mod_wsgi
@ -190,3 +189,7 @@ el7_only:
- python-hawkey # Required by koschei (ticket #4852)
- python-librepo # Required by koschei (ticket #4852)
- nosync # for use in mock
# Packages only available in f23+
f23_only:
- mod_auth_openidc

View file

@ -52,6 +52,15 @@
- jenkins/slave
- packages
- name: install f23 and higher specific slave packages
dnf: name={{ item }} state=installed
with_items: "{{ f23_only }}"
when: ansible_distribution_major_version|int > 22
tags:
- jenkins
- jenkins/slave
- packages
- name: create jenkins user
user: name=jenkins state=present createhome=yes system=no groups=mock
tags: