From: Kyr Shatskyy Date: Thu, 14 Mar 2019 22:37:33 +0000 (+0100) Subject: teuthology: use 'archive_base' variable instead of hardcoded value X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ab73776510e46c4ec0db0a73075cc8a666f6e92;p=ceph-cm-ansible.git teuthology: use 'archive_base' variable instead of hardcoded value Signed-off-by: Kyr Shatskyy --- diff --git a/roles/teuthology/templates/nginx.conf b/roles/teuthology/templates/nginx.conf index 2ae9d930..454acbaf 100644 --- a/roles/teuthology/templates/nginx.conf +++ b/roles/teuthology/templates/nginx.conf @@ -4,7 +4,7 @@ server { autoindex on; server_name {{ inventory_hostname }}; location /teuthology { - alias /home/teuthworker/archive; + alias {{ archive_base }}; } types { text/plain log; diff --git a/roles/teuthology/templates/teuthology.yaml b/roles/teuthology/templates/teuthology.yaml index 0c54010f..c1055f33 100644 --- a/roles/teuthology/templates/teuthology.yaml +++ b/roles/teuthology/templates/teuthology.yaml @@ -10,7 +10,7 @@ max_job_time: {{ teuthology_max_job_time|default(129600) }} {{ teuthology_yaml_extra }} # Not yet configurable via ansible archive_server: http://{{ inventory_hostname }}/ -archive_base: /home/teuthworker/archive +archive_base: {{ archive_base }} ceph_git_base_url: git://git.ceph.com/ queue_host: localhost queue_port: 11300