]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
teuthology: use 'archive_base' variable instead of hardcoded value 449/head
authorKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Thu, 14 Mar 2019 22:37:33 +0000 (23:37 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Fri, 15 Mar 2019 00:29:04 +0000 (01:29 +0100)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
roles/teuthology/templates/nginx.conf
roles/teuthology/templates/teuthology.yaml

index 2ae9d930cd32f1b850efd7c9d9310ba8adf52980..454acbaf81159be27c08ec44a2928ed6fa426901 100644 (file)
@@ -4,7 +4,7 @@ server {
         autoindex on;
         server_name {{ inventory_hostname }};
         location /teuthology {
-          alias /home/teuthworker/archive;
+          alias {{ archive_base }};
         }
         types {
             text/plain log;
index 0c54010f82bd17575f4773bd0e041e7ec32abacb..c1055f33a04c98f8084f0c7114b74e2e704429db 100644 (file)
@@ -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