mirror jobs: copy acme.sh output

We have seen failures issuing keys, but can't see the output of the
letsencrypt wrapper without capturing this logfile.  Add it.

Also, when we updated the mirror to "mirror01.openafs." (because we
have WIP for non-openafs kafs mirrors too) we didn't update the
host-vars match for the apache logs either.  Fix this.

Change-Id: I810a02d309f473e8c4aa0ce1612088aba7868c33
This commit is contained in:
Ian Wienand 2019-11-27 10:46:34 +11:00
parent 43515ef2a6
commit ce15e3bed9

View File

@ -876,6 +876,11 @@
run_playbooks:
- playbooks/service-letsencrypt.yaml
- playbooks/service-mirror.yaml
host-vars:
mirror01.openafs.provider.opendev.org:
host_copy_output:
'/var/log/apache2/': logs
'/var/log/acme.sh': logs
files:
- playbooks/bridge.yaml
- roles/
@ -887,11 +892,6 @@
- playbooks/zuul/templates/group_vars/mirror_opendev.yaml.j2
- testinfra/test_mirror.py
host-vars:
mirror.region.provider.opendev.org:
host_copy_output:
'/var/log/apache2/': logs
- job:
name: system-config-run-mirror-update
parent: system-config-run