system-config/roles-test/openafs-client.yaml
Ian Wienand 6256d26f47 Role integration-tests : use a group match for openafs
This adds a group match for the openafs hosts.  This is so a further
role can run kafs separately.

Change-Id: I5ade7a4c34c89f79012fbcd85efcefddb9c0e810
2019-06-17 15:55:05 +10:00

24 lines
534 B
YAML

- name: Kerberos and OpenAFS client installation
hosts: openafs
roles:
- role: kerberos-client
kerberos_realm: 'OPENSTACK.ORG'
kerberos_admin_server: 'kdc.openstack.org'
kerberos_kdcs:
- kdc03.openstack.org
- kdc04.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