There are some packages not in f22 so f22 slave install fails. Move to a f23+ variable.
This commit is contained in:
parent
c9f3bcb83d
commit
03dd724e01
2 changed files with 13 additions and 1 deletions
|
@ -147,7 +147,6 @@ slave_packages_fedora:
|
||||||
- freeipa-python
|
- freeipa-python
|
||||||
- httpd
|
- httpd
|
||||||
- mod_auth_mellon
|
- mod_auth_mellon
|
||||||
- mod_auth_openidc
|
|
||||||
- postgresql-server
|
- postgresql-server
|
||||||
- openssl
|
- openssl
|
||||||
- mod_wsgi
|
- mod_wsgi
|
||||||
|
@ -190,3 +189,7 @@ el7_only:
|
||||||
- python-hawkey # Required by koschei (ticket #4852)
|
- python-hawkey # Required by koschei (ticket #4852)
|
||||||
- python-librepo # Required by koschei (ticket #4852)
|
- python-librepo # Required by koschei (ticket #4852)
|
||||||
- nosync # for use in mock
|
- nosync # for use in mock
|
||||||
|
|
||||||
|
# Packages only available in f23+
|
||||||
|
f23_only:
|
||||||
|
- mod_auth_openidc
|
||||||
|
|
|
@ -52,6 +52,15 @@
|
||||||
- jenkins/slave
|
- jenkins/slave
|
||||||
- packages
|
- 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
|
- name: create jenkins user
|
||||||
user: name=jenkins state=present createhome=yes system=no groups=mock
|
user: name=jenkins state=present createhome=yes system=no groups=mock
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue