Refactor AFS groups
Both the filesevers and db servers have common key material deployed by the openafs-server-config role. Put both types of server in a new group "afs-server-common" so we can define this key material in just one group file on bridge. Then separate out the two into afs-<file|db>-server groups for consistent naming. Rename afs-admin for consistent naming. The service file is updated to reflect the new groups. Change-Id: Ifa5f251fdfb8de737ad2ed96491d45294ce23a0c
This commit is contained in:
parent
faf041540c
commit
312b9bec24
@ -1,10 +1,13 @@
|
|||||||
plugin: yamlgroup
|
plugin: yamlgroup
|
||||||
groups:
|
groups:
|
||||||
adns: adns*.open*.org
|
adns: adns*.open*.org
|
||||||
afs:
|
afs-server-common:
|
||||||
- afs01.dfw.openstack.org
|
- afs[0-9]*.openstack.org
|
||||||
- afs02.dfw.openstack.org
|
- afsdb[0-9]*.openstack.org
|
||||||
- afs01.ord.openstack.org
|
afs-file-server:
|
||||||
|
- afs[0-9]*.openstack.org
|
||||||
|
afs-db-server:
|
||||||
|
- afsdb[0-9]*.openstack.org
|
||||||
afs-client:
|
afs-client:
|
||||||
- review-dev[0-9]*.open*.org
|
- review-dev[0-9]*.open*.org
|
||||||
- mirror[0-9]*.opendev.org
|
- mirror[0-9]*.opendev.org
|
||||||
@ -13,8 +16,8 @@ groups:
|
|||||||
- afsdb*.open*.org
|
- afsdb*.open*.org
|
||||||
- afs[0-9]*.open*.org
|
- afs[0-9]*.open*.org
|
||||||
- static[0-9]*.opendev.org
|
- static[0-9]*.opendev.org
|
||||||
afsadmin: mirror-update[0-9]*.openstack.org
|
afs-admin:
|
||||||
afsdb: afsdb[0-9]*.open*.org
|
- mirror-update[0-9]*.openstack.org
|
||||||
ask: ask*.open*.org
|
ask: ask*.open*.org
|
||||||
# NOTE: By default we keep the backup-server group empty as an
|
# NOTE: By default we keep the backup-server group empty as an
|
||||||
# emergency escape hatch if a problem were to propage through
|
# emergency escape hatch if a problem were to propage through
|
||||||
|
@ -8,7 +8,8 @@ results:
|
|||||||
- dns
|
- dns
|
||||||
|
|
||||||
afs01.dfw.openstack.org:
|
afs01.dfw.openstack.org:
|
||||||
- afs
|
- afs-server-common
|
||||||
|
- afs-file-server
|
||||||
- afs-client
|
- afs-client
|
||||||
|
|
||||||
firehose01.openstack.org:
|
firehose01.openstack.org:
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
- hosts: "afsdb:!disabled"
|
- hosts: "afs-db-server:!disabled"
|
||||||
name: "AFS: configure db servers"
|
name: "AFS: configure db servers"
|
||||||
strategy: free
|
strategy: free
|
||||||
roles:
|
roles:
|
||||||
- openafs-db-server
|
- openafs-db-server
|
||||||
|
|
||||||
- hosts: "afs:!disabled"
|
- hosts: "afs-file-server:!disabled"
|
||||||
name: "Configure AFS server"
|
name: "Configure AFS file server"
|
||||||
roles:
|
roles:
|
||||||
- openafs-file-server
|
- openafs-file-server
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
register: vos_release_keypair
|
register: vos_release_keypair
|
||||||
|
|
||||||
# Note: relies on vos_release_keypair installed to mirror above
|
# Note: relies on vos_release_keypair installed to mirror above
|
||||||
- hosts: "afs:!disabled"
|
- hosts: "afs-file-server:!disabled"
|
||||||
name: "Allow remote vos_release"
|
name: "Allow remote vos_release"
|
||||||
roles:
|
roles:
|
||||||
- vos-release
|
- vos-release
|
||||||
|
Loading…
Reference in New Issue
Block a user