Ian Wienand 3f68936a0c openafs-client: add centos8
Add CentOS 8 support for the openafs client build

Change-Id: I8290cf1eed9ee8e4af44ac209502553944c52103
Depends-On: https://review.opendev.org/702348
2020-01-22 23:14:43 +00:00

27 lines
648 B
YAML

- name: Ensure EPEL is pre-installed
package:
name:
- epel-release
state: present
become: yes
# Until in EPEL8; see:
# https://bugzilla.redhat.com/show_bug.cgi?id=1791168
- name: Install kstart copr repo for CentOS8
command: dnf copr enable -y iwienand/kstart
become: yes
when: ansible_distribution_major_version == '8'
- name: Install kerberos client packages
yum:
name: '{{ kerberos_client_packages }}'
enablerepo: epel
state: present
become: yes
- name: Remove kstart copr repo for CentOS8
command: dnf copr remove -y iwienand/kstart
become: yes
when: ansible_distribution_major_version == '8'