6256d26f47
This adds a group match for the openafs hosts. This is so a further role can run kafs separately. Change-Id: I5ade7a4c34c89f79012fbcd85efcefddb9c0e810
24 lines
534 B
YAML
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
|
|
|