9c465131db
This change will convert kdc03 to a master from a hot standby and will remove kdc01 from management. Cutover plan: Disable kdc01 in ansible emergeny file Stop run-kprop cron on kdc01 Stop kadmind on kdc01 Execute run-kprop.sh on kdc01 Merge this change Wait for puppet to convert kdc03 to the master Confirm that run-kprop works from kdc03 to kdc04 Update dns records as documented in our kerberos docs Test kadmin works Delete old kdc01 server Change-Id: Ib14b11fa1f0a6bc11b0f615ce5b6f6be214b5629
24 lines
531 B
YAML
24 lines
531 B
YAML
- name: Kerberos and OpenAFS client installation
|
|
hosts: base
|
|
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
|
|
|