Set openafs cache sizes for mirror/mirror-update

Set the openafs cache values to the same as the puppet set values for
openafs-client role users.

Change-Id: I5a58673cad8df2a1e8dddb592c322e751d7f2ac5
This commit is contained in:
Ian Wienand 2019-07-04 09:01:00 +10:00 committed by Clark Boylan
parent dd63186f66
commit 814b42f616
5 changed files with 7 additions and 1 deletions

View File

@ -550,10 +550,12 @@
- playbooks/service-mirror.yaml
files:
- roles/
- playbooks/group_vars/mirror_opendev.yaml
- playbooks/roles/mirror/
- playbooks/roles/letsencrypt.*
- playbooks/service-letsencrypt.yaml
- playbooks/service-mirror.yaml
- playbooks/zuul/templates/group_vars/mirror_opendev.yaml.j2
- testinfra/test_mirror.py
host-vars:

View File

@ -8,4 +8,5 @@
- kdc03.openstack.org
- kdc04.openstack.org
- role: openafs-client
openafs_client_cache_size: "{{ afs_client_cache_size | default(10000000) }}" # 10GiB
- role: mirror-update

View File

@ -8,4 +8,5 @@
- kdc03.openstack.org
- kdc04.openstack.org
- role: openafs-client
openafs_client_cache_size: "{{ afs_client_cache_size | default(50000000) }}" # 50GiB
- role: mirror

View File

@ -81,6 +81,7 @@
- group_vars/letsencrypt.yaml
- group_vars/registry.yaml
- group_vars/control-plane-clouds.yaml
- group_vars/mirror_opendev.yaml
- host_vars/bridge.openstack.org.yaml
- host_vars/letsencrypt01.opendev.org.yaml
- host_vars/letsencrypt02.opendev.org.yaml

View File

@ -0,0 +1 @@
afs_client_cache_size: 500000 # 500MiB