39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
# OpenAFS distro packages have been a little inconsistent; for example
|
|
# Buster and Focal both shipped 1.8 "-pre" versions that upstream did
|
|
# not consdier ready for release. There have been occasional bugs we
|
|
# need fixed in production, and other things we've needed pulled in
|
|
# like ARM64 support. So that's why we maintain our own packages
|
|
# here.
|
|
- name: Install openstackci openafs PPA on Ubuntu
|
|
apt_repository:
|
|
repo: 'ppa:openstack-ci-core/openafs'
|
|
when:
|
|
- ansible_distribution == 'Ubuntu'
|
|
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. Avoid
|
|
# recommends because that drags in the client, which can't start
|
|
# without the modules which are building in this step (we do it next)
|
|
- name: Install openafs kernel modules
|
|
apt:
|
|
name: openafs-modules-dkms
|
|
state: latest
|
|
install_recommends: no
|
|
become: yes
|
|
|
|
- name: Install client packages
|
|
package:
|
|
name:
|
|
- openafs-client
|
|
- openafs-krb5
|
|
state: latest
|
|
become: yes
|