Add a f24_only section for our F24 builder

This commit is contained in:
Pierre-Yves Chibon 2016-06-14 17:49:40 +02:00
parent 100c1b046e
commit 5a2eb55beb
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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: