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