system-config/roles-test/openafs-client.yaml
Ian Wienand 7bfb0db43f Add role integration jobs
The top-level roles in roles/* should be usable as roles under Zuul
and as generic Ansible roles (for control plane).

Add an integration job to ensure this.  Start with the kerberos and
afs roles.

Change-Id: I9f5d572d5f69ca4b58e6e62b06fc873fe7a1e2f0
2018-08-28 11:28:42 +10:00

24 lines
530 B
YAML

- name: Kerberos and OpenAFS client installation
hosts: all
roles:
- role: kerberos-client
kerberos_realm: 'OPENSTACK.ORG'
kerberos_admin_server: 'kdc.openstack.org'
kerberos_kdcs:
- kdc01.openstack.org
- kdc02.openstack.org
- role: openafs-client
tasks:
- name: Check for directory in /afs
stat:
path: "/afs/openstack.org/mirror"
register: afs_mirror
- name: Ensure that AFS is mounted
assert:
that:
- afs_mirror.stat.exists