# Bionic version is dangerously out of date; use later version. # https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1832690 - name: Install openstackci openafs PPA apt_repository: repo: 'ppa:openstack-ci-core/openafs' when: ansible_distribution_version is version('18.04', '>=') become: yes - name: Install kernel headers dependency package: name: - linux-headers-{{ ansible_kernel }} state: present become: yes # NOTE(ianw) : Need to do this first and separately so that the # modules are ready for the openafs-client package to start. - name: Install openafs kernel modules package: name: - openafs-modules-dkms state: latest become: yes - name: Install client packages package: name: - openafs-client - openafs-krb5 state: latest become: yes