2018-08-24 05:09:58 +00:00
|
|
|
- name: Kerberos and OpenAFS client installation
|
2019-06-17 05:55:05 +00:00
|
|
|
hosts: openafs
|
2018-08-24 05:09:58 +00:00
|
|
|
roles:
|
|
|
|
- role: kerberos-client
|
|
|
|
kerberos_realm: 'OPENSTACK.ORG'
|
|
|
|
kerberos_admin_server: 'kdc.openstack.org'
|
|
|
|
kerberos_kdcs:
|
2019-02-22 23:47:49 +00:00
|
|
|
- kdc03.openstack.org
|
|
|
|
- kdc04.openstack.org
|
2018-08-24 05:09:58 +00:00
|
|
|
|
|
|
|
- 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
|
|
|
|
|