mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Add a f24_only section for our F24 builder
This commit is contained in:
@@ -196,3 +196,7 @@ f23_only:
|
||||
- mod_auth_openidc
|
||||
- python2-solv # For modulemd-resolver. (ticket #5349)
|
||||
- python3-solv # For modulemd-resolver. (ticket #5349)
|
||||
|
||||
# Packages only available/needed in f24+
|
||||
f24_only:
|
||||
- python2-systemd
|
||||
|
||||
@@ -61,6 +61,15 @@
|
||||
- jenkins/slave
|
||||
- packages
|
||||
|
||||
- name: install f24 and higher specific slave packages
|
||||
dnf: name={{ item }} state=installed
|
||||
with_items: "{{ f24_only }}"
|
||||
when: ansible_distribution_major_version|int > 23
|
||||
tags:
|
||||
- jenkins
|
||||
- jenkins/slave
|
||||
- packages
|
||||
|
||||
- name: create jenkins user
|
||||
user: name=jenkins state=present createhome=yes system=no groups=mock
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user