ee7faefe08
Currently our puppet-requiring hosts (all !bridge) do not manage their puppet installs. This is OK for existing servers, but new servers come up without puppet installed. This is playbooks to manage puppet installs on hosts. It is mostly a port of the relevant parts of ./install_puppet.sh for our various control-plane platforms. Basic testing with zuul-integration jobs is added. Using this in the control-plane base.yaml playbooks will be a follow-on. Change-Id: Id5b2f5eb0f1ade198acf53a7c886dd5b3ab79816
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:
|
|
- 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
|
|
|